diff --git a/debootstrap.sh b/debootstrap.sh index 467b69638d..c330286a26 100644 --- a/debootstrap.sh +++ b/debootstrap.sh @@ -184,8 +184,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 debootstrap process and preparing cache." "" "info" -tar cpf - --directory=$DEST/cache/sdcard/ --exclude=dev/* --exclude=proc/* --exclude=run/* --exclude=tmp/* \ ---exclude=mnt/* --exclude=sys/* . | pigz > $DEST/cache/rootfs/$RELEASE.tgz +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