[libvirt] [jenkins-ci PATCH v3 07/10] lcitool: avoid installing recommended packages

Daniel P. Berrangé posted 10 patches 6 years, 11 months ago
There is a newer version of this series
[libvirt] [jenkins-ci PATCH v3 07/10] lcitool: avoid installing recommended packages
Posted by Daniel P. Berrangé 6 years, 11 months ago
We know exactly which packages we need and don't want apt
picking extra "recommended" ones for us.

Reviewed-by: Andrea Bolognani <abologna@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
---
 guests/lcitool | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/guests/lcitool b/guests/lcitool
index a7bcae3..1271954 100755
--- a/guests/lcitool
+++ b/guests/lcitool
@@ -544,7 +544,7 @@ class Application:
                 RUN export DEBIAN_FRONTEND=noninteractive && \\
                     apt-get update && \\
                     apt-get dist-upgrade -y && \\
-                    apt-get install -y ${PACKAGES} && \\
+                    apt-get install --no-install-recommends -y ${PACKAGES} && \\
                     apt-get autoremove -y && \\
                     apt-get autoclean -y
             """))
-- 
2.20.1

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list