1
0
mirror of synced 2026-02-18 12:56:55 +00:00

Use -o APT::Install-Recommends=false instead of --no-install-recommends

Older APT releases bail out on unknown commandline options like
"--no-install-recommends", but accept any Foo=Bar setting to their
"-o" option.

Using -o APT::Install-Recommends=false instead of
--no-install-recommends in common.sh's installDebianPackage allows to
use some of the default hooks to be used unmodified again for older
Debian releases, e.g. Etch.
This commit is contained in:
Axel Beckert
2015-06-11 22:07:20 +02:00
parent 375ed5601b
commit d06abe6fe2
2 changed files with 6 additions and 1 deletions

5
debian/changelog vendored
View File

@@ -22,6 +22,11 @@ xen-tools (4.5+dev-1) UNRELEASED; urgency=medium
"xen-hypervisor" which is a virtual package provided by at least all
xen-hypervisor-* packages since Debian 6 Squeeze.
* Support passing commandline options with --debootstrap-cmd.
* Use -o APT::Install-Recommends=false instead of
--no-install-recommends for backwards compatibility with older APT
versions which don't know either (but accept any Foo=Bar parameter to
"-o"). Allows to install earlier Debian releases (e.g. Etch) with the
default configuration again.
-- Axel Beckert <abe@debian.org> Fri, 09 Jan 2015 13:10:37 +0100