mirror of
https://github.com/rancher/os.git
synced 2025-09-17 07:30:42 +00:00
speed up the full build by swapping lzma with gzip if run with --dev flag
This commit is contained in:
@@ -84,7 +84,7 @@ if [ "$REBUILD" == "1" ]; then
|
||||
if [ ! -d ${INITRD_TMP} ]; then
|
||||
mkdir -p ${INITRD_TMP}
|
||||
pushd ${INITRD_TMP}
|
||||
xz -dc ${INITRD} | cpio -idmv
|
||||
xz -dfc ${INITRD} | gunzip -f | cpio -idm
|
||||
popd
|
||||
fi
|
||||
|
||||
|
Reference in New Issue
Block a user