xbps-src: misc tweaks for zap and use void-packages too in chroot ops.

This commit is contained in:
Juan RP 2014-10-11 11:02:57 +02:00
parent d9ff56e873
commit 77d1837155
2 changed files with 4 additions and 4 deletions

View file

@ -264,7 +264,8 @@ install_bbootstrap() {
masterdir_zap() {
for f in bin boot builddir destdir dev etc home lib lib32 lib64 mnt \
opt proc root run sbin sys tmp usr var xbps .xbps_chroot_init; do
opt proc root run sbin sys tmp usr var host media xbps \
xbps-packages void-packages .xbps_chroot_init; do
if [ -d "$XBPS_MASTERDIR/$f" ]; then
echo "Removing directory $XBPS_MASTERDIR/$f ..."
rm -rf $XBPS_MASTERDIR/$f