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:
5
debian/changelog
vendored
5
debian/changelog
vendored
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user