forked from josch/mmdebstrap
coverage.sh: mmdebstrap now creates /var/lib/dpkg/available
This commit is contained in:
parent
80aea48fa7
commit
1c7e0c86f0
1 changed files with 3 additions and 0 deletions
|
@ -143,6 +143,7 @@ rm /tmp/debian-$dist-debootstrap/var/lib/dpkg/status-old \
|
||||||
# remove dpkg files
|
# remove dpkg files
|
||||||
rm /tmp/debian-$dist-debootstrap/var/lib/dpkg/available \
|
rm /tmp/debian-$dist-debootstrap/var/lib/dpkg/available \
|
||||||
/tmp/debian-$dist-debootstrap/var/lib/dpkg/cmethopt
|
/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
|
# since we installed packages directly from the .deb files, Priorities differ
|
||||||
# thus we first check for equality and then remove the files
|
# thus we first check for equality and then remove the files
|
||||||
chroot /tmp/debian-$dist-debootstrap dpkg --list > dpkg1
|
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/hostname
|
||||||
rm /tmp/debian-unstable/etc/resolv.conf
|
rm /tmp/debian-unstable/etc/resolv.conf
|
||||||
rm /tmp/debian-unstable/var/lib/dpkg/status
|
rm /tmp/debian-unstable/var/lib/dpkg/status
|
||||||
|
rm /tmp/debian-unstable/var/lib/dpkg/available
|
||||||
## delete merged usr symlinks
|
## delete merged usr symlinks
|
||||||
#rm /tmp/debian-unstable/libx32
|
#rm /tmp/debian-unstable/libx32
|
||||||
#rm /tmp/debian-unstable/lib64
|
#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/hostname
|
||||||
rm /tmp/debian-unstable/etc/resolv.conf
|
rm /tmp/debian-unstable/etc/resolv.conf
|
||||||
rm /tmp/debian-unstable/var/lib/dpkg/status
|
rm /tmp/debian-unstable/var/lib/dpkg/status
|
||||||
|
rm /tmp/debian-unstable/var/lib/dpkg/available
|
||||||
## delete merged usr symlinks
|
## delete merged usr symlinks
|
||||||
#rm /tmp/debian-unstable/libx32
|
#rm /tmp/debian-unstable/libx32
|
||||||
#rm /tmp/debian-unstable/lib64
|
#rm /tmp/debian-unstable/lib64
|
||||||
|
|
Loading…
Reference in a new issue