- remove use_all_paths_udev.patch, /lib/udev.. is a symlink to /usr nowadays this confuses other parts of the code causing errors/warnings during the initrd generation. OBS-URL: https://build.opensuse.org/request/show/203550 OBS-URL: https://build.opensuse.org/package/show/Base:System/dracut?expand=0&rev=78
14 lines
338 B
Diff
14 lines
338 B
Diff
--- dracut-034.orig/mkinitrd-dracut.sh
|
|
+++ dracut-034/mkinitrd-dracut.sh
|
|
@@ -231,3 +231,10 @@ for ((i=0 ; $i<${#targets[@]} ; i++)); d
|
|
fi
|
|
fi
|
|
done
|
|
+
|
|
+if [ -z "$(type -p update-bootloader)" ] ; then
|
|
+ echo 2>&1 "Did not refresh the bootloader. You might need to refresh it manually."
|
|
+else
|
|
+ update-bootloader --refresh
|
|
+fi
|
|
+
|