mirror of
https://github.com/Antynea/grub-btrfs.git
synced 2026-03-04 21:15:02 +08:00
Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2c03d5f9e2 | ||
|
|
e286bf1a0d |
@@ -243,7 +243,7 @@ snapshot_list()
|
||||
local snapper_types=($(snapper -t 0 -c "$snapper_config" list | tail -n +3 | cut -d'|' -f 2))
|
||||
|
||||
IFS=$'\n'
|
||||
local snapper_descriptions=($(snapper -t 0 -c "$snapper_config" list | tail -n +3 | cut -d'|' -f 7))
|
||||
local snapper_descriptions=($(snapper -t 0 -c "$snapper_config" list | tail -n +3 | rev | cut -d'|' -f 2 | rev))
|
||||
fi
|
||||
|
||||
IFS=$'\n'
|
||||
@@ -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