File grub2-util-30_os-prober-multiple-initrd.patch of Package grub2

--- 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}")"
openSUSE Build Service is sponsored by