Silence error during purge of unneeded packages

This commit is contained in:
Olaf Meeuwissen 2017-08-19 13:36:52 +09:00
parent d92fe56e7b
commit a644fe7a94
1 changed files with 4 additions and 0 deletions

View File

@ -17,6 +17,8 @@ debootstrap \
--no-merged-usr \ --no-merged-usr \
--variant=minbase jessie $rootfs --variant=minbase jessie $rootfs
mount -t devpts devpts $rootfs/dev/pts
chroot $rootfs apt-mark auto '.*' \ chroot $rootfs apt-mark auto '.*' \
| sed '/not installed/d' | sed '/not installed/d'
chroot $rootfs apt-mark manual devuan-keyring chroot $rootfs apt-mark manual devuan-keyring
@ -30,3 +32,5 @@ for script in $(ls $rootfs/$bindir); do
done done
chroot $rootfs apt-get --purge autoremove -q -y chroot $rootfs apt-get --purge autoremove -q -y
umount $rootfs/dev/pts