summaryrefslogtreecommitdiff
path: root/data/live-build-config/bootloaders/grub-pc/grub.cfg
diff options
context:
space:
mode:
authorMathew McBride <matt@traverse.com.au>2022-11-11 00:04:37 +0000
committerMathew McBride <matt@traverse.com.au>2023-12-08 16:48:30 +1100
commitff6d215240694cc9cc2f662c9ee18570da0e71f8 (patch)
tree877a0646d4f89c618e423f6b682d6baf7bf0e09a /data/live-build-config/bootloaders/grub-pc/grub.cfg
parenta3d29d9110a39107c55794a404f9952ac8fd8687 (diff)
downloadvyos-build-ff6d215240694cc9cc2f662c9ee18570da0e71f8.tar.gz
vyos-build-ff6d215240694cc9cc2f662c9ee18570da0e71f8.zip
T5809: live-build-config: insmod gzio for vmlinuz kernels on arm64
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.
Diffstat (limited to 'data/live-build-config/bootloaders/grub-pc/grub.cfg')
-rw-r--r--data/live-build-config/bootloaders/grub-pc/grub.cfg1
1 files changed, 1 insertions, 0 deletions
diff --git a/data/live-build-config/bootloaders/grub-pc/grub.cfg b/data/live-build-config/bootloaders/grub-pc/grub.cfg
index 8837b8a2..4c46c89f 100644
--- a/data/live-build-config/bootloaders/grub-pc/grub.cfg
+++ b/data/live-build-config/bootloaders/grub-pc/grub.cfg
@@ -4,6 +4,7 @@ set timeout=10
insmod serial
serial --unit=0 --speed=115200
+insmod gzio
insmod part_msdos
insmod ext2
insmod efi_gop