From d0bf594d803b502b3f2004bfe455da179fdfa3d2 Mon Sep 17 00:00:00 2001 From: James Chambers <05jchambers@gmail.com> Date: Fri, 26 Aug 2022 16:18:36 -0600 Subject: [PATCH] Fix extension from gz to xz --- OrangePiRDA/scripts/lib/build_image.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/OrangePiRDA/scripts/lib/build_image.sh b/OrangePiRDA/scripts/lib/build_image.sh index ae8d6e4..5997a28 100755 --- a/OrangePiRDA/scripts/lib/build_image.sh +++ b/OrangePiRDA/scripts/lib/build_image.sh @@ -66,10 +66,10 @@ EOF dd if=${IMAGE}2 of=$IMAGE seek=$ROOTFS_START conv=notrunc,fsync rm -f ${IMAGE}2 cd ${BUILD}/images/ - rm -f ${IMAGENAME}.tar.gz + rm -f ${IMAGENAME}.tar.xz md5sum ${IMAGENAME}.img > ${IMAGENAME}.img.md5sum #tar czvf ${IMAGENAME}.tar.gz $IMAGENAME.img* - tar cf ${IMAGENAME}.tar.gz --use-compress-program='xz -T8 -v -9' $IMAGENAME.img* + tar cf ${IMAGENAME}.tar.xz --use-compress-program='xz -T8 -v -9' $IMAGENAME.img* rm -f *.md5sum sync @@ -164,10 +164,10 @@ w EOF cd ${BUILD}/images/ - rm -f ${IMAGENAME}.tar.gz + rm -f ${IMAGENAME}.tar.xz md5sum ${IMAGENAME}.img > ${IMAGENAME}.img.md5sum #tar czvf ${IMAGENAME}.tar.gz $IMAGENAME.img* - tar cf ${IMAGENAME}.tar.gz --use-compress-program='xz -T8 -v -9' $IMAGENAME.img* + tar cf ${IMAGENAME}.tar.xz --use-compress-program='xz -T8 -v -9' $IMAGENAME.img* rm -f *.md5sum @@ -318,10 +318,10 @@ w EOF cd ${BUILD}/images/ - rm -f ${IMAGENAME}.tar.gz + rm -f ${IMAGENAME}.tar.xz md5sum ${IMAGE} > ${IMAGE}.md5sum #tar czvf ${IMAGENAME}.tar.gz $IMAGENAME.img* - tar cf ${IMAGENAME}.tar.gz --use-compress-program='xz -T8 -v -9' $IMAGENAME.img* + tar cf ${IMAGENAME}.tar.xz --use-compress-program='xz -T8 -v -9' $IMAGENAME.img* rm -f *.md5sum sync