coverage.sh: mmdebstrap now creates /var/lib/dpkg/available

This commit is contained in:
Johannes 'josch' Schauer 2019-01-13 10:14:25 +01:00
parent 80aea48fa7
commit 1c7e0c86f0
Signed by: josch
GPG key ID: F2CBA5C78FBD83E1

View file

@ -143,6 +143,7 @@ rm /tmp/debian-$dist-debootstrap/var/lib/dpkg/status-old \
# remove dpkg files
rm /tmp/debian-$dist-debootstrap/var/lib/dpkg/available \
/tmp/debian-$dist-debootstrap/var/lib/dpkg/cmethopt
touch /tmp/debian-$dist-debootstrap/var/lib/dpkg/available
# since we installed packages directly from the .deb files, Priorities differ
# thus we first check for equality and then remove the files
chroot /tmp/debian-$dist-debootstrap dpkg --list > dpkg1
@ -641,6 +642,7 @@ rm /tmp/debian-unstable/etc/fstab
rm /tmp/debian-unstable/etc/hostname
rm /tmp/debian-unstable/etc/resolv.conf
rm /tmp/debian-unstable/var/lib/dpkg/status
rm /tmp/debian-unstable/var/lib/dpkg/available
## delete merged usr symlinks
#rm /tmp/debian-unstable/libx32
#rm /tmp/debian-unstable/lib64
@ -692,6 +694,7 @@ rm /tmp/debian-unstable/etc/fstab
rm /tmp/debian-unstable/etc/hostname
rm /tmp/debian-unstable/etc/resolv.conf
rm /tmp/debian-unstable/var/lib/dpkg/status
rm /tmp/debian-unstable/var/lib/dpkg/available
## delete merged usr symlinks
#rm /tmp/debian-unstable/libx32
#rm /tmp/debian-unstable/lib64