mirror of
https://github.com/Antynea/grub-btrfs.git
synced 2026-03-04 13:05:00 +08:00
error if /grub is in /boot/EFI
This commit is contained in:
@@ -89,7 +89,7 @@ boot_dir()
|
||||
boot_dir="$gbgmp/$snap_dir_name/boot"
|
||||
[[ "$root_uuid" != "$boot_uuid" ]] && boot_dir="/boot"
|
||||
echo "$boot_dir"
|
||||
boot_dir_real_path="$(make_system_path_relative_to_its_root "$boot_dir")"
|
||||
if [ -d ${boot_dir} ]; then boot_dir_real_path="$(make_system_path_relative_to_its_root "$boot_dir")"; fi
|
||||
}
|
||||
|
||||
|
||||
@@ -206,7 +206,7 @@ list_kernels_initramfs()
|
||||
name_initramfs=("${list_initramfs[@]##*"/"}")
|
||||
# echo "initramfs = ${name_initramfs[*]}"
|
||||
# Create menu entries
|
||||
snapshots_entry "${prefixentry}" "${snap_dir_name}" "${snap_date_time}"
|
||||
# snapshots_entry "${prefixentry}" "${snap_dir_name}" "${snap_date_time}"
|
||||
done
|
||||
IFS=$oldIFS
|
||||
if [ $root_uuid = $boot_uuid ] ; then umount $gbgmp ; fi
|
||||
|
||||
Reference in New Issue
Block a user