Silence error during purge of unneeded packages
This commit is contained in:
parent
d92fe56e7b
commit
a644fe7a94
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue