From 3f7a2b2d2deca1f1896e2e90b09afece0555d3f7 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Fri, 20 Oct 2023 05:57:48 -0500 Subject: image: CD backend: Allow choice of graphics / text Combined with adelie/image@7df95115f4, this allows a user to choose whether to boot to a graphical environment or drop to a text prompt. Implements: #346 --- image/iso-share/post-aarch64.sh | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'image/iso-share/post-aarch64.sh') diff --git a/image/iso-share/post-aarch64.sh b/image/iso-share/post-aarch64.sh index 6e13293..b77dbd4 100755 --- a/image/iso-share/post-aarch64.sh +++ b/image/iso-share/post-aarch64.sh @@ -8,7 +8,15 @@ set prefix=($root)/boot EARLYCFG cat >cdroot/boot/grub.cfg <<'GRUBCFG' -menuentry "Adelie Linux Live (64-bit Arm)" --class linux --id adelie-live-cd { +menuentry "Adelie Linux Live (64-bit Arm)" --class linux --id adelie-live-cd-aarch64 { + insmod iso9660 + insmod linux + search --label "Adelie-aarch64" --no-floppy --set + linux ($root)/kernel-aarch64 root=live:LABEL=Adelie-aarch64 rd.live.dir=/ rd.live.squashimg=aarch64.squashfs softlevel=graphical + initrd ($root)/initrd-aarch64 +} + +menuentry "Adelie Linux Live (64-bit Arm) (text-only)" --class linux --id adelie-live-cd-aarch64-text { insmod iso9660 insmod linux search --label "Adelie-aarch64" --no-floppy --set -- cgit v1.2.3-60-g2f50