Bugfix. It works properly if we use quotes.
This commit is contained in:
parent
38f39a48ed
commit
1435d5d605
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user