From 5f28ee54121e6e12f3eac26c5c21fd7737863163 Mon Sep 17 00:00:00 2001 From: guowenxue <guowenxue@gmail.com> Date: Fri, 30 Aug 2024 17:59:40 +0800 Subject: [PATCH] update build shell script to support fakeroot --- images/build.sh | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/images/build.sh b/images/build.sh index 7d9714e..66787ef 100755 --- a/images/build.sh +++ b/images/build.sh @@ -154,7 +154,7 @@ #echo "Parition size ${partition_size}MiB and LEB=$LEB_CNT" set -x - sudo mkfs.ubifs -F -d ${ROOTFS_SRC} -m ${PAGE_SIZE} -e ${LEB_SIZE} -c $LEB_CNT -o ${ubimg_tmp} + fakeroot mkfs.ubifs -F -d ${ROOTFS_SRC} -m ${PAGE_SIZE} -e ${LEB_SIZE} -c $LEB_CNT -o ${ubimg_tmp} set +x # vol_size smaller than the actual size of the partition to leave room for Ubifs internal data. -- Gitblit v1.9.1