diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2023-10-20 05:57:48 -0500 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2023-10-20 05:57:48 -0500 |
commit | 3f7a2b2d2deca1f1896e2e90b09afece0555d3f7 (patch) | |
tree | 14efc4adf206fcb17632c3b3f2b8fc49ea055d69 /image/iso-share/post-aarch64.sh | |
parent | a9ccd9bc7e22573c5c327d3f75722ebd3cca6a82 (diff) | |
download | horizon-3f7a2b2d2deca1f1896e2e90b09afece0555d3f7.tar.gz horizon-3f7a2b2d2deca1f1896e2e90b09afece0555d3f7.tar.bz2 horizon-3f7a2b2d2deca1f1896e2e90b09afece0555d3f7.tar.xz horizon-3f7a2b2d2deca1f1896e2e90b09afece0555d3f7.zip |
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
Diffstat (limited to 'image/iso-share/post-aarch64.sh')
-rwxr-xr-x | image/iso-share/post-aarch64.sh | 10 |
1 files changed, 9 insertions, 1 deletions
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 |