Skip to content

Commit

Permalink
Fix extension from gz to xz
Browse files Browse the repository at this point in the history
  • Loading branch information
TheRemote committed Aug 26, 2022
1 parent 1887aa1 commit d0bf594
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions OrangePiRDA/scripts/lib/build_image.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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

Expand Down Expand Up @@ -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
Expand Down

0 comments on commit d0bf594

Please sign in to comment.