dracut/dracut-027-find-systemdutildir.patch

14 lines
420 B
Diff

diff -Nru dracut-027.orig/dracut.sh dracut-027/dracut.sh
--- dracut-027.orig/dracut.sh 2013-03-26 16:55:03.000000000 +0100
+++ dracut-027/dracut.sh 2013-04-05 11:52:47.509677138 +0200
@@ -895,6 +895,9 @@
if ! [[ -d "$systemdutildir" ]]; then
[[ -d /lib/systemd ]] && systemdutildir=/lib/systemd
+fi
+
+if ! [[ -d "$systemdutildir" ]]; then
[[ -d /usr/lib/systemd ]] && systemdutildir=/usr/lib/systemd
fi