1
0
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:
Ivan Mikushin
2015-09-19 20:43:00 +05:00
parent 25fa1b769d
commit 39e2e6c3b3
7 changed files with 27 additions and 8 deletions

View File

@@ -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