Imported 2.634

No reason for CPC update specified.
impish
CloudBuilder 5 years ago
parent 2d57d6703e
commit 6fa3b0d65b

7
debian/changelog vendored

@ -1,3 +1,10 @@
livecd-rootfs (2.634) focal; urgency=medium
* Only build bootable buildd images for amd64.
* Properly setup the chroot before using the network.
-- David Krauser <david.krauser@canonical.com> Thu, 12 Dec 2019 13:50:58 -0400
livecd-rootfs (2.633) focal; urgency=medium
* Snapd for uc20 model assertions does not support global channel overrides.

@ -1,7 +1,7 @@
#!/bin/bash -eux
case $ARCH in
amd64|arm64|armhf)
amd64)
;;
*)
echo "We don't create EFI images for $ARCH."

@ -1,7 +1,18 @@
#!/bin/sh
set -e
# This is run after 02-disk-image-uefi.binary because
# we don't want policyrcd-script-zg2 installed in
# bootable images.
. config/functions
cleanup() {
teardown_mountpoint chroot
}
trap cleanup EXIT
setup_mountpoint chroot
chroot chroot apt-get install -y policyrcd-script-zg2

@ -4,6 +4,15 @@
# Generate linux-virtual image
#
case $ARCH in
amd64)
;;
*)
echo "We don't build bootable Buildd images for $ARCH."
exit 0
;;
esac
echo "Building bootable Buildd image"
IMAGE_STR="# BUILDD_IMG: This file was created/modified by the Buildd Image build process"

Loading…
Cancel
Save