mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
scripts/image: compress NOOBS filesystems as tar.xz
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
28b767d59c
commit
613553c633
@ -332,12 +332,12 @@ IMAGE_NAME="$DISTRONAME-$TARGET_VERSION"
|
||||
mkdir -p $RELEASE_DIR/Storage
|
||||
|
||||
# remove an previous created release tarball
|
||||
rm -rf $RELEASE_DIR/System.tar.gz
|
||||
rm -rf $RELEASE_DIR/Storage.tar.gz
|
||||
rm -rf $RELEASE_DIR/System.tar.xz
|
||||
rm -rf $RELEASE_DIR/Storage.tar.xz
|
||||
|
||||
# create filesystem tarballs
|
||||
tar czf $RELEASE_DIR/System.tar.gz -C $RELEASE_DIR/System/ .
|
||||
tar czf $RELEASE_DIR/Storage.tar.gz -C $RELEASE_DIR/Storage/ .
|
||||
tar cJf $RELEASE_DIR/System.tar.xz -C $RELEASE_DIR/System/ .
|
||||
tar cJf $RELEASE_DIR/Storage.tar.xz -C $RELEASE_DIR/Storage/ .
|
||||
|
||||
# remove an filesystem dirs
|
||||
rm -rf $RELEASE_DIR/System
|
||||
@ -352,4 +352,3 @@ IMAGE_NAME="$DISTRONAME-$TARGET_VERSION"
|
||||
# cleanup release dir
|
||||
rm -rf $RELEASE_DIR
|
||||
fi
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user