Blame 0001-systemd-module-setup.sh-call-systemd-in-private-dir-.patch

Harald Hoyer 52ce14
From 900e15da342db2675d7ccd3ca17907bc6ec8cfc5 Mon Sep 17 00:00:00 2001
Harald Hoyer 52ce14
From: Harald Hoyer <harald@redhat.com>
Harald Hoyer 52ce14
Date: Fri, 8 Mar 2013 11:50:03 +0100
Harald Hoyer 52ce14
Subject: [PATCH] systemd/module-setup.sh: call systemd in private dir for
Harald Hoyer 52ce14
 version
Harald Hoyer 52ce14
Harald Hoyer 52ce14
---
Harald Hoyer 52ce14
 modules.d/98systemd/module-setup.sh | 2 +-
Harald Hoyer 52ce14
 1 file changed, 1 insertion(+), 1 deletion(-)
Harald Hoyer 52ce14
Harald Hoyer 52ce14
diff --git a/modules.d/98systemd/module-setup.sh b/modules.d/98systemd/module-setup.sh
Harald Hoyer 52ce14
index 3ce1705..32d4be5 100755
Harald Hoyer 52ce14
--- a/modules.d/98systemd/module-setup.sh
Harald Hoyer 52ce14
+++ b/modules.d/98systemd/module-setup.sh
Harald Hoyer 52ce14
@@ -17,7 +17,7 @@ depends() {
Harald Hoyer 52ce14
 
Harald Hoyer 52ce14
 install() {
Harald Hoyer 52ce14
 
Harald Hoyer 52ce14
-    SYSTEMD_VERSION=$(systemd --version | { read a b a; echo $b; })
Harald Hoyer 52ce14
+    SYSTEMD_VERSION=$($systemdutildir/systemd --version | { read a b a; echo $b; })
Harald Hoyer 52ce14
     if (( $SYSTEMD_VERSION < 198 )); then
Harald Hoyer 52ce14
         dfatal "systemd version $SYSTEMD_VERSION is too low. Need at least version 198."
Harald Hoyer 52ce14
         exit 1