Perform a dist-upgrade prior to installing packages for bootable-buildd

image in order to pull in package updates
This commit is contained in:
Cody Shepherd 2020-07-08 14:03:56 -07:00
parent c60421ae57
commit 5136ee4104
No known key found for this signature in database
GPG Key ID: 0DB7E5F05C3FAB5F

View File

@ -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