mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
pigz is using all available CPU cores to compress to GZIP
This commit is contained in:
@@ -190,9 +190,8 @@ KILLPROC=$(ps -uax | pgrep ntpd | tail -1); if [ -n "$KILLPROC" ]; then k
|
||||
KILLPROC=$(ps -uax | pgrep dbus-daemon | tail -1); if [ -n "$KILLPROC" ]; then kill -9 $KILLPROC; fi
|
||||
|
||||
display_alert "Closing deboostrap process and preparing cache." "" "info"
|
||||
|
||||
tar czpf $DEST/cache/rootfs/$RELEASE.tgz --directory=$DEST/cache/sdcard/ \
|
||||
--exclude=dev/* --exclude=proc/* --exclude=run/* --exclude=tmp/* --exclude=mnt/* .
|
||||
tar cpf - --directory=$DEST/cache/sdcard/ --exclude=dev --exclude=proc --exclude=run --exclude=tmp --exclude=mnt --exclude=sys . \
|
||||
| pigz > $DEST/cache/rootfs/$RELEASE.tgz
|
||||
fi
|
||||
#
|
||||
# mount proc, sys and dev
|
||||
|
||||
2
main.sh
2
main.sh
@@ -238,7 +238,7 @@
|
||||
fi
|
||||
|
||||
# download packages for host
|
||||
PAK="aptly device-tree-compiler pv bc lzop zip binfmt-support bison build-essential ccache debootstrap flex ntpdate "
|
||||
PAK="aptly device-tree-compiler pv bc lzop zip binfmt-support bison build-essential ccache debootstrap flex ntpdate pigz "
|
||||
PAK=$PAK"gawk gcc-arm-linux-gnueabihf lvm2 qemu-user-static u-boot-tools uuid-dev zlib1g-dev unzip libusb-1.0-0-dev "
|
||||
PAK=$PAK"parted pkg-config expect gcc-arm-linux-gnueabi libncurses5-dev whiptail debian-keyring debian-archive-keyring"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user