* 0001-fs-xfs-Add-new-superblock-features-added-in-Linux-6..patch * 0002-fs-xfs-Fix-grub_xfs_iterate_dir-return-value-in-case.patch - Fix "attempt to read of write outside of partition" error message (bsc#1237844) * 0003-fs-xfs-fix-large-extent-counters-incompat-feature-su.patch OBS-URL: https://build.opensuse.org/package/show/Base:System/grub2?expand=0&rev=531
12 lines
326 B
Diff
12 lines
326 B
Diff
--- a/util/grub.d/30_os-prober.in
|
|
+++ b/util/grub.d/30_os-prober.in
|
|
@@ -223,7 +223,7 @@
|
|
|
|
if [ "${LROOT}" != "${LBOOT}" ]; then
|
|
LKERNEL="${LKERNEL#/boot}"
|
|
- LINITRD="${LINITRD#/boot}"
|
|
+ LINITRD="$(echo $LINITRD | sed -e 's!^/boot!!' -e 's!\(\s\)/boot!\1!g')"
|
|
fi
|
|
|
|
onstr="$(gettext_printf "(on %s)" "${DEVICE}")"
|