Blame 0076-95udev-rules-module-setup.s-fixed-symlink-for-udevd-.patch

Harald Hoyer 55891e
From 450f5d66944e4a4ae005c75a818c3cccd28836f3 Mon Sep 17 00:00:00 2001
Harald Hoyer 55891e
From: Harald Hoyer <harald@redhat.com>
Harald Hoyer 55891e
Date: Mon, 10 Oct 2011 20:17:16 +0200
Harald Hoyer 55891e
Subject: [PATCH] 95udev-rules/module-setup.s: fixed symlink for udevd to
Harald Hoyer 55891e
 initdir
Harald Hoyer 55891e
Harald Hoyer 55891e
---
Harald Hoyer 55891e
 modules.d/95udev-rules/module-setup.sh |    4 ++--
Harald Hoyer 55891e
 1 files changed, 2 insertions(+), 2 deletions(-)
Harald Hoyer 55891e
Harald Hoyer 55891e
diff --git a/modules.d/95udev-rules/module-setup.sh b/modules.d/95udev-rules/module-setup.sh
Harald Hoyer 55891e
index eddf2b0..915c1fc 100755
Harald Hoyer 55891e
--- a/modules.d/95udev-rules/module-setup.sh
Harald Hoyer 55891e
+++ b/modules.d/95udev-rules/module-setup.sh
Harald Hoyer 55891e
@@ -63,8 +63,8 @@ install() {
Harald Hoyer 55891e
         [ -e /usr/lib/udev/$_i ] && dracut_install /usr/lib/udev/$_i
Harald Hoyer 55891e
     done
Harald Hoyer 55891e
 
Harald Hoyer 55891e
-    [ -x /lib/udev/udevd ] && ln -s ../lib/udev/udevd /sbin/udevd
Harald Hoyer 55891e
-    [ -x /usr/lib/udev/udevd ] && ln -s ../usr/lib/udev/udevd /sbin/udevd
Harald Hoyer 55891e
+    [ -x /lib/udev/udevd ] && ln -s ../lib/udev/udevd "$initdir/sbin/udevd"
Harald Hoyer 55891e
+    [ -x /usr/lib/udev/udevd ] && ln -s ../usr/lib/udev/udevd "$initdir/sbin/udevd"
Harald Hoyer 55891e
 
Harald Hoyer 55891e
     [ -f /etc/arch-release ] && \
Harald Hoyer 55891e
         inst "$moddir/load-modules.sh" /lib/udev/load-modules.sh