Skip to content
This repository has been archived by the owner on Sep 8, 2023. It is now read-only.

Add support for Calculate Linux #179

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions mbusb.d/calculate.d/desktop-generic64.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
for isofile in $isopath/cld-*-x86_64.iso; do
if [ -e "$isofile" ]; then
regexp --set=isoname "$isopath/(.*)" "$isofile"
submenu "$isoname ->" "$isofile" {
iso_path="$2"
loopback loop "$iso_path"
probe --label --set=cd_label (loop)
menuentry "Calculate Linux Desktop Live x86_64" {
bootoptions="iso-scan/filename=$iso_path root=live:LABEL=$cd_label vga=current init=/linuxrc rd.live.squashimg=livecd.squashfs nodevfs quiet noresume splash=silent,theme:calculate console=tty1"
linux (loop)/boot/vmlinuz $bootoptions
initrd (loop)/boot/initrd
}
menuentry "Memory testing utility - memtest86+" {
bootoptions=""
linux16 (loop)/isolinux/memtest $bootoptions
}
}
fi
done