mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-04-19 12:57:16 +00:00
xz compress images
This commit is contained in:
parent
565e523f95
commit
7d3f0154a3
3
build.sh
3
build.sh
@ -46,6 +46,9 @@ elif [ "$target" == "mkrelease" ]; then
|
||||
$boarddir/mkimage.sh
|
||||
cp $outputdir/images/$osname-$board.img $basedir
|
||||
mv $basedir/$osname-$board.img $basedir/$osname-$board-$osversion.img
|
||||
rm -f $basedir/$osname-$board-$osversion.img.xz
|
||||
xz -6ek $basedir/$osname-$board-$osversion.img
|
||||
echo "your image is ready at $basedir/$osname-$board-$osversion.img.xz"
|
||||
rm -f $basedir/$osname-$board-$osversion.img.gz
|
||||
$gzip $basedir/$osname-$board-$osversion.img
|
||||
echo "your image is ready at $basedir/$osname-$board-$osversion.img.gz"
|
||||
|
Loading…
x
Reference in New Issue
Block a user