diskimage-builder/elements/dpkg/pre-install.d/00-disable-apt-recommends
Robert Collins 7f77729ec5 Move the dpkg specific stuff to a dpkg element rather than being hardcoded.
This includes the install-packages implementation for dpkg, apt http proxy
config, daemon blocking and unblocking.

Change-Id: I8f159021d2b223d7003cec067de3aa605ad06974
2013-02-14 11:16:12 +13:00

10 lines
182 B
Bash
Executable File

#!/bin/sh
# Prevent apt from installing recommended packages
dd of=/etc/apt/apt.conf.d/95disable-recommends << _EOF_
APT::Install-Recommends "0";
Apt::Install-Suggests "0";
_EOF_