Skip to content

Commit a1da791

Browse files
committed
Add Fedora 42 support (#34)
1 parent e265974 commit a1da791

File tree

1 file changed

+39
-0
lines changed

1 file changed

+39
-0
lines changed

config/fedora/fedora-42-live.cfg

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
# Fedora Live, Workstation, Fedora Spins (KDE, Xfce, ...)
2+
# https://fedoraproject.org
3+
4+
iso_pattern="Fedora-*-Live-*.x86_64.iso"
5+
6+
for isofile in $iso_dir/$iso_pattern; do
7+
if [ -e "$isofile" ]; then
8+
regexp --set=isoname "$iso_dir/(.*)" "$isofile"
9+
10+
submenu "$isoname ->" "$isofile" {
11+
iso_path="$2"
12+
LOOPBACK "$iso_path"
13+
probe --label --set=cd_label (loop)
14+
isocfg="iso-scan/filename=$iso_path"
15+
bootoptions="root=live:CDLABEL=$cd_label rd.live.image quiet rhgb"
16+
linux_path="(loop)/boot/x86_64/loader/linux"
17+
initrd_path="(loop)/boot/x86_64/loader/initrd"
18+
19+
menuentry "Start Fedora Live" {
20+
echo Loading kernel...
21+
linux $linux_path $isocfg $bootoptions
22+
echo Loading initrd...
23+
initrd $initrd_path
24+
}
25+
menuentry "Test this media & start Fedora Live" {
26+
echo Loading kernel...
27+
linux $linux_path $isocfg $bootoptions rd.live.check
28+
echo Loading initrd...
29+
initrd $initrd_path
30+
}
31+
menuentry "Start Fedora Live in basic graphics mode" {
32+
echo Loading kernel...
33+
linux $linux_path $isocfg $bootoptions nomodeset
34+
echo Loading initrd...
35+
initrd $initrd_path
36+
}
37+
}
38+
fi
39+
done

0 commit comments

Comments
 (0)