mirror of
https://github.com/Antynea/grub-btrfs.git
synced 2026-03-04 13:05:00 +08:00
Add a search command line to `grub.cfg` for find `grub-btrfs.cfg` `search -f --set=root --no-floppy /grub/grub-btrfs.cfg`
This commit is contained in:
@@ -545,6 +545,7 @@ root_grub="$(make_system_path_relative_to_its_root /boot/$grub_directory)"
|
||||
# Make a submenu in GRUB (grub.cfg)
|
||||
cat << EOF
|
||||
submenu '${submenuname}' {
|
||||
search -f --set=root --no-floppy /grub/grub-btrfs.cfg
|
||||
configfile "${root_grub}/grub-btrfs.cfg"
|
||||
}
|
||||
EOF
|
||||
|
||||
Reference in New Issue
Block a user