update-bootengine: add missing kernel modules back #40
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Compared to Flatcar major version 3033 these modules went missing from
the initramfs:
glue_helper.ko.xz md4.ko.xz aoe.ko.xz brd.ko.xz drbd.ko.xz nbd.ko.xz
rbd.ko.xz xen-blkfront.ko.xz zram.ko.xz pps_core.ko.xz ptp.ko.xz
nfs_ssc.ko.xz libarc4.ko.xz lru_cache.ko.xz zsmalloc.ko.xz
The "loop" module already was added because PXE boots broke. The
xen-blkfront module however also broke booting on m4 AWS EC2 instances.
Add those modules from the above list back to the initramfs which are
present on the 5.15 kernel.
How to use
Build and test booting on m4 instances, but it also requires the kernel commit revert for networking
Testing done
Tested that the initramfs has the modules now (unpack Stable 3033.2.3 and this build's vmlinuz with
extract-initramfs-from-vmlinuz.sh
and look that things like zram.ko.xz don't appear on the left sdiff side but not on the right. Also check dracut logs from coreos-kernel.changelog/
directory (user-facing change, bug fix, security fix, update)↑ in coreos-overlay