From 54f44d108fb20fd38b59c093e6bf97ffae245087 Mon Sep 17 00:00:00 2001
From: guowenxue <guowenxue@gmail.com>
Date: Sat, 29 Jul 2023 00:20:15 +0800
Subject: [PATCH] Update build root crosstool setup
---
images/build.sh | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/images/build.sh b/images/build.sh
index 9460037..5a5d649 100755
--- a/images/build.sh
+++ b/images/build.sh
@@ -91,7 +91,7 @@
export BOOT_SIZE=`jq -r ".system.bootsize" $CONF_FILE | tr 'A-Z' 'a-z'`
export ROOTFS=rootfs-${DISTRO}-${DISVER}
- export IMAGE_NAME=$BOARD-$DISTRO-$DISVER-$BSPVER.img
+ export IMAGE_NAME=$DISTRO-$DISVER-$BSPVER.img
# i.MX6ULL only need build uboot-imx
@@ -254,8 +254,13 @@
cp $UBOOT_BINPATH/u-boot-${BOARD}.imx $INST_PATH
mv $IMAGE_NAME $INST_PATH
+ cd $INST_PATH
+
+ pr_info "\ncompress system images $IMAGE_NAME"
+ bzip2 $IMAGE_NAME
+
pr_info "\nsystem images installed to '$INST_PATH'"
- ls $INST_PATH && echo ""
+ ls && echo ""
}
function do_clean()
--
Gitblit v1.9.1