From ccc4d4fdbe35a3362b6a5faa7263c44cac481fb9 Mon Sep 17 00:00:00 2001 From: guowenxue <guowenxue@gmail.com> Date: Sun, 14 Nov 2021 23:05:03 +0800 Subject: [PATCH] update linux patch and buils shell script, LCD driver works now --- bsp/rootfs/build.sh | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/bsp/rootfs/build.sh b/bsp/rootfs/build.sh index b3e996b..c6c70d2 100755 --- a/bsp/rootfs/build.sh +++ b/bsp/rootfs/build.sh @@ -4,7 +4,7 @@ BOARD=imx6ull -TAR_PATH=/home/guowenxue/imx6ull/bsp/tarball +TAR_PATH=${PRJ_PATH}/../tarball # rootfs should be buildroot or stretch/buster/bullseye for debian system ROOTFS=buildroot @@ -19,11 +19,6 @@ APT_UPDATE=0 EXTRA_APPS="vim net-tools network-manager tree file parted locales lsb-release tzdata wireless-tools openssh-server" - -if [ `id -u` != 0 ] ; then - echo "ERRROR: This shell script must excuted as root privilege." - exit 0; -fi set -u set -e @@ -143,6 +138,11 @@ exit 0; fi +if [ `id -u` != 0 ] ; then + echo "ERRROR: This shell script must excuted as root privilege." + exit 0; +fi + do_systools do_fetch -- Gitblit v1.9.1