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

Add support for Red Flag Linux #168

Open
wants to merge 2 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/redflag.d/inwise-generic.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
for isofile in $isopath/REDFLAG-inWise_*.iso; do
if [ -e "$isofile" ]; then
regexp --set=isoname "$isopath/(.*)" "$isofile"
submenu "$isoname ->" "$isofile" {
iso_path="$2"
loopback loop "$iso_path"
menuentry "REDFLAG inWise" {
bootoptions="iso=$imgdevpath:$iso_path rflive quiet splash"
linux (loop)/redflag/boot/x86_64/vmlinuz $bootoptions
initrd (loop)/redflag/boot/x86_64/redflagiso.initrd
}
menuentry "REDFLAG inWise Safe Mode" {
bootoptions="iso=$imgdevpath:$iso_path rflive quiet splash i915.modeset=0 nouveau.modeset=0 radeon.modeset=0"
linux (loop)/redflag/boot/x86_64/vmlinuz $bootoptions
initrd (loop)/redflag/boot/x86_64/redflagiso.initrd
}
}
fi
done