From: Seung-Woo Kim Date: Tue, 15 Sep 2020 09:48:22 +0000 (+0900) Subject: scripts: mkbootimg_rpi4.sh: use compress image X-Git-Tag: accepted/tizen/unified/20230118.172025~116 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=88a98074eb00601c44ff544328534a6343b8c972;p=platform%2Fkernel%2Flinux-rpi.git scripts: mkbootimg_rpi4.sh: use compress image Use compressed image for less size. Change-Id: I9ec8b7e5e35bfa8ae6ac2832d52d4748e9a79668 Signed-off-by: Seung-Woo Kim --- diff --git a/scripts/mkbootimg_rpi4.sh b/scripts/mkbootimg_rpi4.sh index 1127b94..babfd46 100755 --- a/scripts/mkbootimg_rpi4.sh +++ b/scripts/mkbootimg_rpi4.sh @@ -81,12 +81,12 @@ rm -rf tmp tmp_modules # Create boot tarball for the lthor flashing DATE=`date +%Y%m%d` if [ -n "$IS_64BIT" ]; then - BOOT_TARBALL=tizen-local-${DATE}-boot-arm64-rpi4.tar + BOOT_TARBALL=tizen-local-${DATE}-boot-arm64-rpi4.tar.gz else - BOOT_TARBALL=tizen-local-${DATE}-boot-armv7l-rpi4.tar + BOOT_TARBALL=tizen-local-${DATE}-boot-armv7l-rpi4.tar.gz fi -tar cf ${BOOT_TARBALL} boot.img modules.img +tar czf ${BOOT_TARBALL} boot.img modules.img if [ "$?" != "0" ]; then echo "Failed to create boot tarball" exit 1