trying to speedup the startup process. xz can use all cores during decompress on bootup as well

This commit is contained in:
toby 2019-02-24 21:53:15 +00:00
parent fb1756043f
commit 31103471c7
1 changed files with 1 additions and 1 deletions

View File

@ -187,7 +187,7 @@ cat <<-"EOF" >$INITRD_DIR/init
mount -t tmpfs -o size=${size:=10000}m tmpfs /newroot || error
echo "Extracting rootfs... "
xz -d -c -f rootfs.tar.xz | tar -x -f - -C /newroot || error
xz -T0 -d -c -f rootfs.tar.xz | tar -x -f - -C /newroot || error
mount --move /sys /newroot/sys
mount --move /proc /newroot/proc