Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
dadigang
Ventoy
Commits
ff0ad76d
Commit
ff0ad76d
authored
Dec 17, 2020
by
longpanda
Browse files
add support for latest blackarch distro (issue #654)
parent
c8b2cca7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
INSTALL/grub/grub.cfg
INSTALL/grub/grub.cfg
+4
-0
No files found.
INSTALL/grub/grub.cfg
View file @
ff0ad76d
...
@@ -270,6 +270,8 @@ function distro_specify_initrd_file_phase2 {
...
@@ -270,6 +270,8 @@ function distro_specify_initrd_file_phase2 {
fi
fi
elif [ -f (loop)/blackarch/boot/x86_64/archiso.img ]; then
elif [ -f (loop)/blackarch/boot/x86_64/archiso.img ]; then
vt_linux_specify_initrd_file /blackarch/boot/x86_64/archiso.img
vt_linux_specify_initrd_file /blackarch/boot/x86_64/archiso.img
elif [ -f (loop)/blackarch/boot/x86_64/initramfs-linux.img ]; then
vt_linux_specify_initrd_file /blackarch/boot/x86_64/initramfs-linux.img
elif [ -f (loop)/install.amd/initrd.gz ]; then
elif [ -f (loop)/install.amd/initrd.gz ]; then
vt_linux_specify_initrd_file /live/initrd2.img
vt_linux_specify_initrd_file /live/initrd2.img
...
@@ -548,6 +550,8 @@ function uefi_linux_menu_func {
...
@@ -548,6 +550,8 @@ function uefi_linux_menu_func {
elif [ -d (loop)/blackarch ]; then
elif [ -d (loop)/blackarch ]; then
if [ -f (loop)/blackarch/boot/x86_64/archiso.img ]; then
if [ -f (loop)/blackarch/boot/x86_64/archiso.img ]; then
vt_add_replace_file $vtindex "EFI\\archiso\\archiso.img"
vt_add_replace_file $vtindex "EFI\\archiso\\archiso.img"
elif [ -f (loop)/blackarch/boot/x86_64/initramfs-linux.img ]; then
vt_add_replace_file $vtindex "blackarch\\boot\\x86_64\\initramfs-linux.img"
fi
fi
elif [ -d (loop)/anarchy ]; then
elif [ -d (loop)/anarchy ]; then
if [ -f (loop)/anarchy/boot/x86_64/initramfs-linux.img ]; then
if [ -f (loop)/anarchy/boot/x86_64/initramfs-linux.img ]; then
...
...
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