T5809: live-build-config: insmod gzio for vmlinuz kernels on arm64 #468
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.
Change Summary
Without this, GRUB will report a 'invalid magic' or 'missing UEFI stub' error when loading kernels on arm64.
This change has no effect on x86-64 systems.
Types of changes
Related Task(s)
https://vyos.dev/T5809
Component(s) name
grub, live-build
(A separate patch may be required for vyos-1x for GRUB when installed to disk, I will check this)
Proposed changes
This change enables the
gzio
(gzip support) module in grub, allowing it to decompressgzip compressed kernel images (vmlinuz), which is the default kernel binary on Arm64 systems.
Adding gzio does not have any side effects on x86-64.
How to test
Build a VyOS ISO and boot it on both a arm64 and amd64(x86-64) system.
Checklist: