diff --git a/grub2-btrfs-05-grub2-mkconfig.patch b/grub2-btrfs-05-grub2-mkconfig.patch index f7eebeb..94a4c62 100644 --- a/grub2-btrfs-05-grub2-mkconfig.patch +++ b/grub2-btrfs-05-grub2-mkconfig.patch @@ -1,3 +1,7 @@ + +Always declare path specification in case of inconsistent declaration +elsewhere. (bsc#1209165) + --- util/grub-mkconfig.in | 3 ++- util/grub-mkconfig_lib.in | 4 ++++ @@ -22,7 +26,7 @@ is_path_readable_by_grub () --- a/util/grub.d/00_header.in +++ b/util/grub.d/00_header.in -@@ -27,6 +27,14 @@ +@@ -27,6 +27,21 @@ . "$pkgdatadir/grub-mkconfig_lib" @@ -32,12 +36,19 @@ +set btrfs_relative_path="y" +export btrfs_relative_path +EOF ++else ++# Always declare path specification in case of inconsistent declaration ++# elsewhere. (bsc#1209165) ++ cat < + +- Fix aarch64 kiwi image's file not found due to '/@' prepended to path in + btrfs filesystem. (bsc#1209165) + * grub2-btrfs-05-grub2-mkconfig.patch + ------------------------------------------------------------------- Mon Mar 20 05:02:01 UTC 2023 - Michael Chang