Package: sbuild
Version: 0.60.8-1
Severity: normal
Tags: patch
User: [email protected]
Usertags: origin-ubuntu natty ubuntu-patch
*** /tmp/tmpmadAAN
In Ubuntu, the attached patch was applied to achieve the following:
* lib/Sbuild/ResolverBase.pm: use -o APT::Install-Recommends=false
instead of --no-install-recommends as it is not a valid option in
Dapper schroots. This is Ubuntu-specific and can be removed once Dapper
goes EoL.
Although I mentioned it being Ubuntu-specific in the changelog, it may be
useful to build for older Debian releases also.
Thanks for considering the patch.
-- System Information:
Debian Release: squeeze/sid
APT prefers natty-updates
APT policy: (500, 'natty-updates'), (500, 'natty-security'), (500,
'natty-proposed'), (500, 'natty')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.37-12-generic (SMP w/2 CPU cores)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -u sbuild-0.60.8/debian/changelog sbuild-0.60.8/debian/changelog
only in patch2:
unchanged:
--- sbuild-0.60.8.orig/lib/Sbuild/ResolverBase.pm
+++ sbuild-0.60.8/lib/Sbuild/ResolverBase.pm
@@ -393,7 +393,8 @@
my @apt_command = ($self->get_conf('APT_GET'), '--purge',
'-o', 'DPkg::Options::=--force-confold',
'-o', 'DPkg::Options::=--refuse-remove-essential',
- '-q', '--no-install-recommends');
+ '-o', 'APT::Install-Recommends=false',
+ '-q');
push @apt_command, '--allow-unauthenticated' if
($self->get_conf('APT_ALLOW_UNAUTHENTICATED'));
push @apt_command, "$mode", $action, @packages;