Commit 87a2c027 authored by Tails developers's avatar Tails developers
Browse files

Prevent some unwanted packages to be installed at all, rather than uninstalling them later.

This should speed up the build a bit.

Not all unwanted packages can be treated this way, e.g. aptitude is installed by
debootstrap, that does not know about APT pinning. Some other unwanted packages
are needed during the build process, so we have to install them and remove
them later.
parent e445627b
......@@ -338,6 +338,146 @@ Package: tor-geoipdb
Pin: release o=Debian,n=squeeze,l=Debian-Security
Pin-Priority: 999
Explanation: Unwanted package that tasksel would pull since they have Priority: standard.
Package: apt-listchanges
Pin: release o=Debian
Pin-Priority: -1
Explanation: Unwanted package that tasksel would pull since they have Priority: standard.
Package: at
Pin: release o=Debian
Pin-Priority: -1
Explanation: Unwanted package that tasksel would pull since they have Priority: standard.
Package: bsd-mailx
Pin: release o=Debian
Pin-Priority: -1
Explanation: Unwanted package that tasksel would pull since they have Priority: standard.
Package: dc
Pin: release o=Debian
Pin-Priority: -1
Explanation: Unwanted package that tasksel would pull since they have Priority: standard.
Package: debian-faq
Pin: release o=Debian
Pin-Priority: -1
Explanation: Unwanted package that tasksel would pull since they have Priority: standard.
Package: doc-debian
Pin: release o=Debian
Pin-Priority: -1
Explanation: Unwanted package that tasksel would pull since they have Priority: standard.
Package: doc-linux-text
Pin: release o=Debian
Pin-Priority: -1
Explanation: Unwanted package that tasksel would pull since they have Priority: standard.
Package: exim4
Pin: release o=Debian
Pin-Priority: -1
Explanation: Unwanted package that tasksel would pull since they have Priority: standard.
Package: exim4-base
Pin: release o=Debian
Pin-Priority: -1
Explanation: Unwanted package that tasksel would pull since they have Priority: standard.
Package: exim4-config
Pin: release o=Debian
Pin-Priority: -1
Explanation: Unwanted package that tasksel would pull since they have Priority: standard.
Package: exim4-daemon-light
Pin: release o=Debian
Pin-Priority: -1
Explanation: Unwanted package that tasksel would pull since they have Priority: standard.
Package: ftp
Pin: release o=Debian
Pin-Priority: -1
Explanation: Unwanted package that tasksel would pull since they have Priority: standard.
Package: locales
Pin: release o=Debian
Pin-Priority: -1
Explanation: Unwanted package that tasksel would pull since they have Priority: standard.
Package: m4
Pin: release o=Debian
Pin-Priority: -1
Explanation: Unwanted package that tasksel would pull since they have Priority: standard.
Package: mlocate
Pin: release o=Debian
Pin-Priority: -1
Explanation: Unwanted package that tasksel would pull since they have Priority: standard.
Package: ncurses-term
Pin: release o=Debian
Pin-Priority: -1
Explanation: Unwanted package that tasksel would pull since they have Priority: standard.
Package: nfs-common
Pin: release o=Debian
Pin-Priority: -1
Explanation: Unwanted package that tasksel would pull since they have Priority: standard.
Package: portmap
Pin: release o=Debian
Pin-Priority: -1
Explanation: Unwanted package that tasksel would pull since they have Priority: standard.
Package: procmail
Pin: release o=Debian
Pin-Priority: -1
Explanation: Unwanted package that tasksel would pull since they have Priority: standard.
Package: python-apt
Pin: release o=Debian
Pin-Priority: -1
Explanation: Unwanted package that tasksel would pull since they have Priority: standard.
Package: python-reportbug
Pin: release o=Debian
Pin-Priority: -1
Explanation: Unwanted package that tasksel would pull since they have Priority: standard.
Package: reportbug
Pin: release o=Debian
Pin-Priority: -1
Explanation: Unwanted package that tasksel would pull since they have Priority: standard.
Package: rpcbind
Pin: release o=Debian
Pin-Priority: -1
Explanation: Unwanted package that tasksel would pull since they have Priority: standard.
Package: telnet
Pin: release o=Debian
Pin-Priority: -1
Explanation: Unwanted package that tasksel would pull since they have Priority: standard.
Package: texinfo
Pin: release o=Debian
Pin-Priority: -1
Explanation: Unwanted package that tasksel would pull since they have Priority: standard.
Package: time
Pin: release o=Debian
Pin-Priority: -1
Explanation: Unwanted package that tasksel would pull since they have Priority: standard.
Package: w3m
Pin: release o=Debian
Pin-Priority: -1
Explanation: Unwanted package that tasksel would pull since they have Priority: standard.
Package: wamerican
Pin: release o=Debian
Pin-Priority: -1
Explanation: weirdness in chroot_apt install-binary
Package: *
Pin: release o=chroot_local-packages
......
......@@ -23,16 +23,9 @@ apt-get --yes purge \
po-debconf \
virtualbox-guest-dkms
### 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 doc-linux-text \
'^exim4*' ftp m4 mlocate ncurses-term nfs-common portmap procmail python-apt \
python-reportbug reportbug telnet texinfo time w3m wamerican
### Deinstall some other unwanted packages.
apt-get --yes purge \
aptitude live-build locales tasksel tasksel-data
aptitude live-build tasksel tasksel-data
### Deinstall dependencies of the just removed packages.
apt-get --yes --purge autoremove
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment