From e766fcfbb4453d33abc4c2af1edd93fcdbfcb293 Mon Sep 17 00:00:00 2001
From: guowenxue <guowenxue@gmail.com>
Date: Mon, 02 Sep 2024 09:35:59 +0800
Subject: [PATCH] update kernel build shell script for mkimage

---
 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