bootstrap: Only install required packages on openSUSE
authorAndreas Schneider <asn@samba.org>
Tue, 30 Apr 2019 07:59:15 +0000 (09:59 +0200)
committerAndreas Schneider <asn@cryptomilk.org>
Tue, 30 Apr 2019 17:34:21 +0000 (17:34 +0000)
This should reduce the amount of packages installed. And make building
the image much faster!

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
bootstrap/config.py

index bae02d9fb841badb20a17538957fda9418d39471..ac2628530f16cef423bd4660d8fb61abae3788bf 100644 (file)
@@ -242,8 +242,9 @@ set -xueo pipefail
 zypper --non-interactive refresh
 zypper --non-interactive update
 zypper --non-interactive install \
-    {pkgs} \
-    system-user-nobody
+    --no-recommends \
+    system-user-nobody \
+    {pkgs}
 
 zypper --non-interactive clean