[Merge] ~hammerstefan/livecd-rootfs:lunar-arm64-minimal-fix into livecd-rootfs:ubuntu/master
Steve Langasek
mp+439386 at code.launchpad.net
Thu Mar 30 14:36:13 UTC 2023
On Thu, Mar 30, 2023 at 01:09:13PM -0000, Stefan Hammer wrote:
> I tried to explain that in the commit message. AMD64 minimal is explicitly installing linux-kvm in disk-image-uefi.binary
> if [ "${SUBPROJECT:-}" = "minimized" ] && [ "$ARCH" = "amd64" ]; then
> replace_kernel mountpoint linux-kvm
> fi
> Since this is a kernel package install, this will run `update-initramfs
> -c` during the post-install hooks, so the initramfs gets generated.
Yes, but Dimitri has designs on making linux-kvm a virtual package that
points at linux-generic, in which case amd64 would then regress in the same
way.
Since non-minimal images all have initramfses, something seems to be
treating minimal differently by either removing them after generation or not
copying them to the right place. If it's wrong to do that, we should remove
that code instead of adding more code.
Also, I have a question about whether it's right for a minimal image to ever
require an initramfs, or if the need for this indicates a problem with the
kernel config. (Requiring an initramfs increases the disk space
requirements for the image, due to duplication of content between the rootfs
and the initramfs, and therefore makes it less "minimal".)
--
https://code.launchpad.net/~hammerstefan/livecd-rootfs/+git/livecd-rootfs/+merge/439386
Your team Ubuntu Core Development Team is requested to review the proposed merge of ~hammerstefan/livecd-rootfs:lunar-arm64-minimal-fix into livecd-rootfs:ubuntu/master.
More information about the Ubuntu-reviews
mailing list