mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-24 11:46:30 +00:00
build script: add xz and gz in image ready print message
This commit is contained in:
parent
7e67e3391d
commit
8b13b0a18f
4
build.sh
4
build.sh
@ -48,10 +48,10 @@ elif [ "$target" == "mkrelease" ]; then
|
||||
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"
|
||||
echo "your xz 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"
|
||||
echo "your gz image is ready at $basedir/$osname-$board-$osversion.img.gz"
|
||||
elif [ -n "$target" ]; then
|
||||
make O=$outputdir $target
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user