[Piuparts-commits] rev 214 - in trunk: . debian
Holger Levsen
holger at alioth.debian.org
Wed Mar 11 16:25:16 UTC 2009
Author: holger
Date: 2009-03-11 16:25:16 +0000 (Wed, 11 Mar 2009)
New Revision: 214
Modified:
trunk/TODO
trunk/debian/changelog
trunk/piuparts.py
Log:
Do not install recommends and suggests.
Modified: trunk/TODO
===================================================================
--- trunk/TODO 2009-03-11 16:23:22 UTC (rev 213)
+++ trunk/TODO 2009-03-11 16:25:16 UTC (rev 214)
@@ -13,8 +13,8 @@
- wishlist: make it possible to call aptitude (or similar) instead
of apt-get and allow to override the commandline arguments of
- the used program (interesting e.g. together with aptitude to
- install the package with and without recommended packages)
+ the used program (to be able to test with and without recommended
+ packages or authentication).
- you need to either use --allow-unauthenticated or --force-yes
to apt-get calls; problem: --force-yes is too dangerous and
Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog 2009-03-11 16:23:22 UTC (rev 213)
+++ trunk/debian/changelog 2009-03-11 16:25:16 UTC (rev 214)
@@ -3,6 +3,7 @@
* Add check whether scriptsdir exits, to fail gracefully if not.
* Copy scriptsdir to chroot also when doing upgrade tests.
* Ignore modifications of /var/lib/dpkg/triggers/*
+ * Do not install recommends and suggests.
-- Holger Levsen <holger at debian.org> Tue, 10 Mar 2009 15:23:59 +0100
Modified: trunk/piuparts.py
===================================================================
--- trunk/piuparts.py 2009-03-11 16:23:22 UTC (rev 213)
+++ trunk/piuparts.py 2009-03-11 16:25:16 UTC (rev 214)
@@ -615,7 +615,9 @@
"""Create /etc/apt/apt.conf inside the chroot."""
create_file(self.relative("etc/apt/apt.conf"),
'APT::Get::AllowUnauthenticated "yes";\n' +
- 'APT::Get::Assume-Yes "yes";\n')
+ 'APT::Get::Assume-Yes "yes";\n' +
+ 'APT::Install-Recommends "0";\n' +
+ 'APT::Install-Suggests "0";\n')
def create_policy_rc_d(self):
"""Create a policy-rc.d that prevents daemons from running."""
More information about the Piuparts-commits
mailing list