scripts: install-deps.sh: Use --no-recommends on zypper

Use the --no-recommends option on zypper to avoid pulling too many
indirect dependencies. All dependencies need to explicitely listed in
the bindep.txt file instead.

Depends: I06b9682751a4aefe21866336ed9726541f74b22a
Change-Id: Ieeaada5585fa411edf3993534a94b60ed46439ed
This commit is contained in:
Markos Chandras 2017-06-19 15:12:46 +01:00
parent 24d81ac061
commit 30b9b4339b

View File

@ -20,7 +20,7 @@ CHECK_CMD_PKGS=(
# is installed
if [ -x '/usr/bin/zypper' ]; then
OS_FAMILY="Suse"
INSTALLER_CMD="sudo -H -E zypper install -y"
INSTALLER_CMD="sudo -H -E zypper install -y --no-recommends"
CHECK_CMD="zypper search --match-exact --installed"
PKG_MAP=(
[gcc]=gcc