Disable Apt Recommends.
This disables apt's default behaviour of installing packages in the Recommends field of other packages. While this can be useful, it causes a lot of unnecessary software to be installed and may cause explicit dependencies to be missed in some circumstances. Change-Id: I10f4519290e6b3dafda3365c0c5dcc42ad17c090
This commit is contained in:
parent
4c2c3a8738
commit
1951ac8838
9
elements/base/pre-install.d/00-disable-apt-recommends
Executable file
9
elements/base/pre-install.d/00-disable-apt-recommends
Executable file
@ -0,0 +1,9 @@
|
|||||||
|
#!/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_
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user