From b057f1b4d9e0c201c698e72fbe93e0068a531b03 Mon Sep 17 00:00:00 2001
From: guowenxue <guowenxue@gmail.com>
Date: Sun, 25 Aug 2019 21:17:54 +0800
Subject: [PATCH] Add libkcapi libraries

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