-
-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
45 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# EuroLinux | ||
# https://euro-linux.com | ||
|
||
iso_pattern="ELD-*-x86_64-*.iso" | ||
|
||
for isofile in $iso_dir/$iso_pattern; do | ||
if [ -e "$isofile" ]; then | ||
regexp --set=isoname "$iso_dir/(.*)" "$isofile" | ||
|
||
submenu "$isoname ->" "$isofile" { | ||
iso_path="$2" | ||
loopback loop $iso_path | ||
probe --label --set=cd_label (loop) | ||
isocfg="iso-scan/filename=$iso_path" | ||
bootoptions="root=live:CDLABEL=$cd_label selinux=0 rd.live.image" | ||
linux_path="(loop)/images/pxeboot/vmlinuz" | ||
initrd_path="(loop)/images/pxeboot/initrd.img" | ||
|
||
menuentry "Start EuroLinux" { | ||
echo Loading kernel... | ||
linux $linux_path $isocfg $bootoptions quiet | ||
echo Loading initrd... | ||
initrd $initrd_path | ||
} | ||
menuentry "Test this media & start EuroLinux" { | ||
echo Loading kernel... | ||
linux $linux_path $isocfg $bootoptions rd.live.check quiet | ||
echo Loading initrd... | ||
initrd $initrd_path | ||
} | ||
} | ||
fi | ||
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters