adding multithread compression to reduce the build time especially in arm boxes
This commit is contained in:
parent
46f60aa6ea
commit
80023b30f1
|
@ -198,7 +198,8 @@ EOF
|
||||||
|
|
||||||
chmod +x $INITRD_DIR/init
|
chmod +x $INITRD_DIR/init
|
||||||
|
|
||||||
tar -cJf $INITRD_DIR/rootfs.tar.xz -C $MNT_DIR .
|
XZ_OPT=-T0 tar -cJf $INITRD_DIR/rootfs.tar.xz -C $MNT_DIR .
|
||||||
|
|
||||||
|
|
||||||
#[ -d /usr/lib/linux-image-* ] && cp -r $MNT_DIR/usr/lib/linux-image-* $RESULT_DIR/dtbs
|
#[ -d /usr/lib/linux-image-* ] && cp -r $MNT_DIR/usr/lib/linux-image-* $RESULT_DIR/dtbs
|
||||||
rm $MNT_DIR/boot/initrd.img-*
|
rm $MNT_DIR/boot/initrd.img-*
|
||||||
|
|
Loading…
Reference in New Issue