From 1abc43a2d09d448f358e8c3ec0c3d1f6c9dfe9cd Mon Sep 17 00:00:00 2001 From: John Chittum Date: Tue, 29 Sep 2020 11:41:05 -0500 Subject: [PATCH] Remove virtualbox-guest-utils (LP: #1895862) virtualbox-guest-utils kernel modules is included in linux-modules starting in kernel 5.4.0-33 in focal-updates. The vagrant hook also explicit installed virtualbox-guest-utils. An error occurred with the version installed from the archives, however, with the inclusion in linux-modules, there's no need to explicitly install virtualbox-guest-utils. Removes the code for the explicit install. --- live-build/ubuntu-cpc/hooks.d/base/vagrant.binary | 6 ------ 1 file changed, 6 deletions(-) diff --git a/live-build/ubuntu-cpc/hooks.d/base/vagrant.binary b/live-build/ubuntu-cpc/hooks.d/base/vagrant.binary index 63b97871..49746926 100755 --- a/live-build/ubuntu-cpc/hooks.d/base/vagrant.binary +++ b/live-build/ubuntu-cpc/hooks.d/base/vagrant.binary @@ -58,12 +58,6 @@ cleanup_vagrant() { } trap cleanup_vagrant EXIT -chroot ${mount_d} apt-get update -# virtualbox-guest-utils Recommends: virtualbox-guest-x11, which we want to -# avoid pulling into a cloud image. -chroot ${mount_d} apt-get install --no-install-recommends -y virtualbox-guest-utils -chroot ${mount_d} apt-get clean - # Create and setup users inside the image. # Vagrant users expect a "vagrant" user with a "vagrant" username. # See https://www.vagrantup.com/docs/boxes/base.html