diff options
author | intrigeri <intrigeri@boum.org> | 2016-05-14 18:10:07 +0000 |
---|---|---|
committer | intrigeri <intrigeri@boum.org> | 2016-05-14 19:23:16 +0000 |
commit | a9b47862e7e70736208efd3ef174c77f10f2e69b (patch) | |
tree | 6dadef78e390f208b561e73f372061e14d529d90 /config | |
parent | c1745db0694c66447d4bec013efae217f4d337c2 (diff) |
Don't try to remove packages that are not installed during the build.
This fails when building from a tagged snapshot, as apt-get fails hard
when trying to remove a package it doesn't know about.
Diffstat (limited to 'config')
-rwxr-xr-x | config/chroot_local-hooks/98-remove_unwanted_packages | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/config/chroot_local-hooks/98-remove_unwanted_packages b/config/chroot_local-hooks/98-remove_unwanted_packages index 93d1b40..75ab1e5 100755 --- a/config/chroot_local-hooks/98-remove_unwanted_packages +++ b/config/chroot_local-hooks/98-remove_unwanted_packages @@ -17,7 +17,7 @@ apt-get --yes purge \ build-essential debhelper dkms dpatch dpkg-dev \ gcc gcc-4.8 gcc-4.8-base gcc-4.9 \ intltool-debian \ - libc6-dev libgl1-mesa-dev libstdc++6-4.4-dev linux-libc-dev \ + libc6-dev libgl1-mesa-dev linux-libc-dev \ make \ module-assistant \ po-debconf \ @@ -28,21 +28,17 @@ apt-get --yes purge \ ### Deinstall a few unwanted packages that were pulled by tasksel ### since they have Priority: standard. apt-get --yes purge \ - apt-listchanges at bsd-mailx dc debian-faq doc-debian dselect \ + apt-listchanges at bsd-mailx dc debian-faq doc-debian \ '^exim4*' ftp m4 mlocate mutt ncurses-term nfs-common portmap procmail \ python-reportbug reportbug telnet texinfo time w3m wamerican ### Deinstall some other unwanted packages. apt-get --yes purge \ '^aptitude*' \ - db5.1-util \ '^geoclue*' \ krb5-locales \ live-build \ locales \ - '^openssh-blacklist*' \ - python2.6 \ - python2.6-minimal \ rpcbind \ tasksel \ tasksel-data \ |