remove linuxefi grub EFI handover to normal linux loading

Signed-off-by: Avi Deitcher <avi@deitcher.net>
This commit is contained in:
Avi Deitcher
2024-08-29 17:29:47 +03:00
parent 6979859e76
commit ba25e59640
11 changed files with 18 additions and 32 deletions

View File

@@ -1,4 +1,4 @@
FROM linuxkit/grub:292deb743d85eb79cbd5b163841db8ccd2500677 AS grub
FROM linuxkit/grub:9b36ab2ca67e9cdc2faf008278cc4bb8f981350b AS grub
FROM linuxkit/alpine:146f540f25cd92ec8ff0c5b0c98342a9a95e479e AS mirror
RUN mkdir -p /out/etc/apk && cp -r /etc/apk/* /out/etc/apk/

View File

@@ -8,12 +8,10 @@ case $ARCH in
x86_64)
BOOTFILE=BOOTX64.EFI
ROOTDEV=/dev/sr0
LINUX_ENTRY=linuxefi
;;
aarch64)
BOOTFILE=BOOTAA64.EFI
ROOTDEV=/dev/vda
LINUX_ENTRY=linux
;;
esac
@@ -38,7 +36,7 @@ cp /usr/local/share/$BOOTFILE .
CFG="set timeout=0
set gfxpayload=text
menuentry 'LinuxKit ISO Image' {
$LINUX_ENTRY /boot/kernel ${CMDLINE} text
linux /boot/kernel ${CMDLINE} text
}
"