trying to speedup the startup process. xz can use all cores during decompress on bootup as well
This commit is contained in:
parent
fb1756043f
commit
31103471c7
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue