[libvirt] [jenkins-ci PATCH v2 6/9] lcitool: avoid installing recommended packages

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

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 1d5cbd0..eb111b8 100755
--- a/guests/lcitool
+++ b/guests/lcitool
@@ -546,7 +546,7 @@ class Application:
                     ( \\
                         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
Re: [libvirt] [jenkins-ci PATCH v2 6/9] lcitool: avoid installing recommended packages
Posted by Andrea Bolognani 7 years ago
On Tue, 2019-02-05 at 17:53 +0000, Daniel P. Berrangé wrote:
> We know exactly which packages we need and don't want apt
> picking extra "recommended" ones for us.
> 
> Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
> ---
>  guests/lcitool | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Reviewed-by: Andrea Bolognani <abologna@redhat.com>

-- 
Andrea Bolognani / Red Hat / Virtualization

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