Imported 2.664.2

No reason for CPC update specified.
CloudBuilder 5 years ago
parent d3d8ad977c
commit 541a51bea5

6
debian/changelog vendored

@ -1,3 +1,9 @@
livecd-rootfs (2.664.2) focal; urgency=medium
* Revert of initramfs package removal in KVM image (LP: #1880170)
-- Phil Roche <phil.roche@canonical.com> Fri, 22 May 2020 13:03:20 +0100
livecd-rootfs (2.664.1) focal; urgency=medium livecd-rootfs (2.664.1) focal; urgency=medium
* Bump only the UC20 pc image to 8GB, and keep Pi images as small as possible. * Bump only the UC20 pc image to 8GB, and keep Pi images as small as possible.

@ -360,14 +360,14 @@ case $IMAGEFORMAT in
case $MODEL in case $MODEL in
pc-amd64|pc-i386) pc-amd64|pc-i386)
if [ -z "${SUBARCH:-}" ]; then if [ -z "${SUBARCH:-}" ]; then
case $SUITE in case $SUITE in
xenial|bionic) xenial|bionic)
UBUNTU_IMAGE_ARGS="$UBUNTU_IMAGE_ARGS --image-size 3700M" UBUNTU_IMAGE_ARGS="$UBUNTU_IMAGE_ARGS --image-size 3700M"
;; ;;
*) *)
UBUNTU_IMAGE_ARGS="$UBUNTU_IMAGE_ARGS --image-size 8G" UBUNTU_IMAGE_ARGS="$UBUNTU_IMAGE_ARGS --image-size 8G"
;; ;;
esac esac
fi fi
;; ;;
*) ;; *) ;;

@ -49,10 +49,6 @@ replace_kernel ${mount_d} "linux-kvm"
chroot "${mount_d}" update-grub chroot "${mount_d}" update-grub
undivert_grub "${mount_d}" undivert_grub "${mount_d}"
# Remove initramfs for kvm image
env DEBIAN_FRONTEND=noninteractive chroot "${mount_d}" apt-get \
purge -y initramfs-tools busybox-initramfs
env DEBIAN_FRONTEND=noninteractive chroot "${mount_d}" rm \ env DEBIAN_FRONTEND=noninteractive chroot "${mount_d}" rm \
-rf /boot/initrd.img-* /boot/initrd.img -rf /boot/initrd.img-* /boot/initrd.img

Loading…
Cancel
Save