forked from josch/mmdebstrap
tests: tzdata gained lintian overrides and preinst prerm scripts
This commit is contained in:
parent
59ac33cebe
commit
60186650cd
2 changed files with 4 additions and 0 deletions
|
@ -14,6 +14,7 @@ tar -C /tmp/debian-chroot --one-file-system -c . | tar -t | sort \
|
||||||
| grep -v '^./etc/timezone' \
|
| grep -v '^./etc/timezone' \
|
||||||
| grep -v '^./usr/sbin/tzconfig' \
|
| grep -v '^./usr/sbin/tzconfig' \
|
||||||
| grep -v '^./usr/share/doc/tzdata' \
|
| grep -v '^./usr/share/doc/tzdata' \
|
||||||
|
| grep -v '^./usr/share/lintian/overrides/tzdata' \
|
||||||
| grep -v '^./usr/share/zoneinfo' \
|
| grep -v '^./usr/share/zoneinfo' \
|
||||||
| grep -v '^./var/lib/dpkg/info/tzdata.' \
|
| grep -v '^./var/lib/dpkg/info/tzdata.' \
|
||||||
| grep -v '^./var/lib/apt/extended_states$' \
|
| grep -v '^./var/lib/apt/extended_states$' \
|
||||||
|
|
|
@ -6,6 +6,7 @@ trap "rm -rf /tmp/debian-chroot" EXIT INT TERM
|
||||||
rm /tmp/debian-chroot/usr/share/doc-base/debian-*
|
rm /tmp/debian-chroot/usr/share/doc-base/debian-*
|
||||||
rm -r /tmp/debian-chroot/usr/share/doc/debian
|
rm -r /tmp/debian-chroot/usr/share/doc/debian
|
||||||
rm -r /tmp/debian-chroot/usr/share/doc/doc-debian
|
rm -r /tmp/debian-chroot/usr/share/doc/doc-debian
|
||||||
|
rm /tmp/debian-chroot/usr/share/lintian/overrides/tzdata
|
||||||
rm /tmp/debian-chroot/etc/localtime
|
rm /tmp/debian-chroot/etc/localtime
|
||||||
rm /tmp/debian-chroot/etc/timezone
|
rm /tmp/debian-chroot/etc/timezone
|
||||||
rm /tmp/debian-chroot/usr/sbin/tzconfig
|
rm /tmp/debian-chroot/usr/sbin/tzconfig
|
||||||
|
@ -20,4 +21,6 @@ rm /tmp/debian-chroot/var/lib/dpkg/info/tzdata.config
|
||||||
rm /tmp/debian-chroot/var/lib/dpkg/info/tzdata.postinst
|
rm /tmp/debian-chroot/var/lib/dpkg/info/tzdata.postinst
|
||||||
rm /tmp/debian-chroot/var/lib/dpkg/info/tzdata.postrm
|
rm /tmp/debian-chroot/var/lib/dpkg/info/tzdata.postrm
|
||||||
rm /tmp/debian-chroot/var/lib/dpkg/info/tzdata.templates
|
rm /tmp/debian-chroot/var/lib/dpkg/info/tzdata.templates
|
||||||
|
rm /tmp/debian-chroot/var/lib/dpkg/info/tzdata.preinst
|
||||||
|
rm /tmp/debian-chroot/var/lib/dpkg/info/tzdata.prerm
|
||||||
tar -C /tmp/debian-chroot --one-file-system -c . | tar -t | sort | diff -u tar1.txt -
|
tar -C /tmp/debian-chroot --one-file-system -c . | tar -t | sort | diff -u tar1.txt -
|
||||||
|
|
Loading…
Reference in a new issue