** Description changed: - We want to the revert of initramfs package removal in KVM image. + No packages marked for auto-removal should be present in a published + cloud image. + + The current kvm binary hook in livecd-rootfs removes the packages + `initramfs-tools` and `busybox-initramfs`. This results in many packages + [1] being marked for auto-removal. These packages are still required in + the image and should not be marked for auto-removal. + + The removal of initramfs-tools and busybox-initramfs was to avoid the + generation of initramfs in images that should boot initramfsless. + + This requirement is obsolete now because the initramfsless boot handling + is now handled via setting GRUB_FORCE_PARTUUID in /etc/default/grub.d/40-force-partuuid.cfg. [Impact] - * We don't want any packages marked for auto-removal on a published kvm - cloud image. + * No packages marked for auto-removal. This is a requirement for all + public cloud images. [Test Case] - * Perform livefs build with project ubuntu-base - * Boot *-disk-kvm.img using kvm - * Confirm it boots - * Confirm there is no boot speed regression + * Perform livefs build with project ubuntu-base + * Boot *-disk-kvm.img using kvm + * Confirm it boots + * Confirm there is no boot speed regression + * Confirm that running `sudo apt-get autoremove` results in no packages being removed + * Verify that `GRUB_FORCE_PARTUUID` is set in /etc/default/grub.d/40-force-partuuid.cfg. [Regression Potential] - * Boot speed regression - * Unable to boot KVM image + * Boot speed regression + * Unable to boot KVM image [Other Info] - * Original bug filed against cloud-images @ https://bugs.launchpad.net/cloud-images/+bug/1875400 - * MP already merged in to ubuntu/master @ https://code.launchpad.net/~philroche/livecd-rootfs/+git/livecd-rootfs/+merge/384105 - * livecd-rootfs version 2.667 in groovy was uploaded with this patch and was verified + * Original bug filed against cloud-images @ https://bugs.launchpad.net/cloud-images/+bug/1875400 + * MP already merged in to ubuntu/master @ https://code.launchpad.net/~philroche/livecd-rootfs/+git/livecd-rootfs/+merge/384105 + * livecd-rootfs version 2.667 in groovy was uploaded with this patch and was verified + + + [1] apport apport-symptoms at bc bcache-tools bolt btrfs-progs byobu cryptsetup cryptsetup-bin cryptsetup-run dmeventd ethtool finalrd + fonts-ubuntu-console fwupd fwupd-signed git git-man htop initramfs-tools-bin klibc-utils kpartx landscape-common libaio1 libarchive13 + libcurl3-gnutls libdevmapper-event1.02.1 liberror-perl libevent-2.1-7 libfl2 libfwupd2 libfwupdplugin1 libgcab-1.0-0 libgpgme11 + libgudev-1.0-0 libgusb2 libisns0 libjson-glib-1.0-0 libjson-glib-1.0-common libklibc liblvm2cmd2.03 libmspack0 libreadline5 + libsgutils2-2 libsmbios-c2 libtss2-esys0 liburcu6 libutempter0 libxmlb1 libxmlsec1 libxmlsec1-openssl libxslt1.1 lvm2 lxd-agent-loader + lz4 mdadm open-iscsi open-vm-tools patch pollinate python3-apport python3-automat python3-click python3-colorama python3-constantly + python3-debconf python3-debian python3-hamcrest python3-hyperlink python3-incremental python3-newt python3-problem-report python3-pyasn1 + python3-pyasn1-modules python3-service-identity python3-systemd python3-twisted python3-twisted-bin python3-zope.interface run-one + screen sg3-utils sosreport thin-provisioning-tools tmux tpm-udev update-notifier-common xfsprogs zerofree
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1880170 Title: SRU: Revert of initramfs package removal in KVM image To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/livecd-rootfs/+bug/1880170/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs