adding multithread compression to reduce the build time especially in arm boxes

This commit is contained in:
aseguro 2019-02-21 04:12:54 +00:00
parent 46f60aa6ea
commit 80023b30f1
1 changed files with 2 additions and 1 deletions

View File

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