From a68e8c60fd9fa2ab9dc91312c6ba0d75302e92d7 Mon Sep 17 00:00:00 2001
From: guowenxue <guowenxue@gmail.com>
Date: Mon, 12 Aug 2019 17:18:45 +0800
Subject: [PATCH] upate rootfs packet to buildroot version, update build shell script and add rootfs changelog file

---
 linux-bsp/build.sh |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/linux-bsp/build.sh b/linux-bsp/build.sh
index ed8273a..e505f78 100755
--- a/linux-bsp/build.sh
+++ b/linux-bsp/build.sh
@@ -135,8 +135,9 @@
     LEB_CNT=`expr $PEB_CNT - 4 - $PEB_CNT \/ 100 `
 
     #echo "Parition size ${partition_size}MiB and LEB=$LEB_CNT"
-    set -x
-    mkfs.ubifs -F -d ${ROOTFS_SRC} -m ${PAGE_SIZE} -e ${LEB_SIZE} -c $LEB_CNT -o ${ubimg_tmp}
+    set -x 
+    printf "\nWARNNING: generete rootfs image need root privilege, please input sudo passwd!\n\n" 
+    sudo mkfs.ubifs -F -d ${ROOTFS_SRC} -m ${PAGE_SIZE} -e ${LEB_SIZE} -c $LEB_CNT -o ${ubimg_tmp}
     set +x
 
 

--
Gitblit v1.9.1