From 5136ee41045a7a19beb3b337537aa946b0df0e3a Mon Sep 17 00:00:00 2001 From: Cody Shepherd Date: Wed, 8 Jul 2020 14:03:56 -0700 Subject: [PATCH] Perform a dist-upgrade prior to installing packages for bootable-buildd image in order to pull in package updates --- live-build/buildd/hooks/52-linux-virtual-image.binary | 3 +++ 1 file changed, 3 insertions(+) diff --git a/live-build/buildd/hooks/52-linux-virtual-image.binary b/live-build/buildd/hooks/52-linux-virtual-image.binary index a0c64d75..d8efab84 100755 --- a/live-build/buildd/hooks/52-linux-virtual-image.binary +++ b/live-build/buildd/hooks/52-linux-virtual-image.binary @@ -39,6 +39,9 @@ trap cleanup_linux_virtual EXIT # Install dependencies env DEBIAN_FRONTEND=noninteractive chroot "$mount_d" apt-get \ update --assume-yes +# Perform a dist-upgrade to pull in package updates +env DEBIAN_FRONTEND=noninteractive chroot "$mount_d" apt-get \ + dist-upgrade --assume-yes env DEBIAN_FRONTEND=noninteractive chroot "$mount_d" apt-get \ install -y lsb-release locales initramfs-tools busybox-initramfs \ udev dbus netplan.io cloud-init openssh-server sudo snapd