Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
dadigang
Ventoy
Commits
8c192a18
Unverified
Commit
8c192a18
authored
Nov 16, 2020
by
David P
Committed by
GitHub
Nov 16, 2020
Browse files
grub.cfg: add support for new Parabola ISOs (#590)
parent
e8d17f9b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
INSTALL/grub/grub.cfg
INSTALL/grub/grub.cfg
+9
-0
No files found.
INSTALL/grub/grub.cfg
View file @
8c192a18
...
@@ -230,6 +230,11 @@ function distro_specify_initrd_file_phase2 {
...
@@ -230,6 +230,11 @@ function distro_specify_initrd_file_phase2 {
if [ -f (loop)/parabola/boot/i686/parabolaiso.img ]; then
if [ -f (loop)/parabola/boot/i686/parabolaiso.img ]; then
vt_linux_specify_initrd_file /parabola/boot/i686/parabolaiso.img
vt_linux_specify_initrd_file /parabola/boot/i686/parabolaiso.img
fi
fi
elif [ -f (loop)/parabola/boot/x86_64/initramfs-linux-libre.img ]; then
vt_linux_specify_initrd_file /parabola/boot/x86_64/initramfs-linux-libre.img
if [ -f (loop)/parabola/boot/i686/initramfs-linux-libre.img ]; then
vt_linux_specify_initrd_file /parabola/boot/i686/initramfs-linux-libre.img
fi
elif [ -f (loop)/hyperbola/boot/x86_64/hyperiso.img ]; then
elif [ -f (loop)/hyperbola/boot/x86_64/hyperiso.img ]; then
vt_linux_specify_initrd_file /hyperbola/boot/x86_64/hyperiso.img
vt_linux_specify_initrd_file /hyperbola/boot/x86_64/hyperiso.img
if [ -f (loop)/hyperbola/boot/i686/hyperiso.img ]; then
if [ -f (loop)/hyperbola/boot/i686/hyperiso.img ]; then
...
@@ -525,6 +530,8 @@ function uefi_linux_menu_func {
...
@@ -525,6 +530,8 @@ function uefi_linux_menu_func {
elif [ -d (loop)/parabola ]; then
elif [ -d (loop)/parabola ]; then
if [ -f (loop)/parabola/boot/x86_64/parabolaiso.img ]; then
if [ -f (loop)/parabola/boot/x86_64/parabolaiso.img ]; then
vt_add_replace_file $vtindex "EFI\\parabolaiso\\parabolaiso.img"
vt_add_replace_file $vtindex "EFI\\parabolaiso\\parabolaiso.img"
elif [ -f (loop)/parabola/boot/x86_64/initramfs-linux-libre.img ]; then
vt_add_replace_file $vtindex "parabola\\boot\\x86_64\\initramfs-linux-libre.img"
fi
fi
elif [ -f (loop)/EFI/BOOT/initrd.gz ]; then
elif [ -f (loop)/EFI/BOOT/initrd.gz ]; then
vt_add_replace_file $vtindex "EFI\\BOOT\\initrd.gz"
vt_add_replace_file $vtindex "EFI\\BOOT\\initrd.gz"
...
@@ -542,6 +549,8 @@ function uefi_linux_menu_func {
...
@@ -542,6 +549,8 @@ function uefi_linux_menu_func {
elif [ -d (loop)/EFI/BOOT/entries ]; then
elif [ -d (loop)/EFI/BOOT/entries ]; then
if [ -f (loop)/parabola/boot/x86_64/parabolaiso.img ]; then
if [ -f (loop)/parabola/boot/x86_64/parabolaiso.img ]; then
vt_add_replace_file 0 "EFI\\parabolaiso\\parabolaiso.img"
vt_add_replace_file 0 "EFI\\parabolaiso\\parabolaiso.img"
elif [ -f (loop)/parabola/boot/x86_64/initramfs-linux-libre.img ]; then
vt_add_replace_file $vtindex "parabola\\boot\\x86_64\\initramfs-linux-libre.img"
fi
fi
elif [ -e (loop)/syslinux/alt0/full.cz ]; then
elif [ -e (loop)/syslinux/alt0/full.cz ]; then
vt_add_replace_file 0 "EFI\\BOOT\\full.cz"
vt_add_replace_file 0 "EFI\\BOOT\\full.cz"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment