-
Notifications
You must be signed in to change notification settings - Fork 147
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
1 parent
5bbf5ac
commit 043a02c
Showing
4 changed files
with
25 additions
and
0 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
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,19 @@ | ||
# EndeavourOS | ||
function add_menu { | ||
isofile="$1" | ||
|
||
regexp \ | ||
--set 1:isoname \ | ||
--set 3:version \ | ||
"^${isopath}/endeavour/(EndeavourOS_([^_]+)-([^-]+)\.iso)\$" "${isofile}" | ||
menuentry "EndeavourOS ${version}" "${isofile}" "${isoname}" --class endeavour { | ||
set isofile=$2 | ||
set isoname=$3 | ||
use "${isoname}" | ||
loop $isofile | ||
linux (loop)/arch/boot/x86_64/vmlinuz-linux img_dev=/dev/disk/by-uuid/${rootuuid} img_loop="${isofile}" earlymodules=loop | ||
initrd (loop)/arch/boot/intel-ucode.img (loop)/arch/boot/amd-ucode.img (loop)/arch/boot/x86_64/initramfs-linux.img | ||
} | ||
} | ||
|
||
for_each_sorted add_menu "$isopath"/endeavour/EndeavourOS*.iso |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.