[node-patches] Change in ovirt-node[master]: fix dracut directory in ovirt-init-functions

mburns at redhat.com mburns at redhat.com
Sat May 18 03:02:43 UTC 2013


Michael Burns has uploaded a new change for review.

Change subject: fix dracut directory in ovirt-init-functions
......................................................................

fix dracut directory in ovirt-init-functions

was hardcoded to /var/lib/dracut, but el6 distros
use /usr/share/dracut

Change-Id: I26accf6b72f387a5472e617023195d213233c239
Signed-off-by: Mike Burns <mburns at redhat.com>
---
M .gitignore
M configure.ac
R scripts/ovirt-init-functions.sh.in
3 files changed, 3 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/47/14847/1

diff --git a/.gitignore b/.gitignore
index bf7b7c3..938de3a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -24,6 +24,7 @@
 *manifest
 py-compile
 scripts/ovirt-functions
+scripts/ovirt-init-functions
 .project
 .pydevproject
 .settings
diff --git a/configure.ac b/configure.ac
index 4fe0a8b..56c86f2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -78,6 +78,7 @@
                 $MAIN_KS
                 recipe/image-minimizer.ks
                 scripts/ovirt-functions
+                scripts/ovirt-init-functions.sh
                 semodule/ovirt.te
                 ovirt-node.spec])
 AC_OUTPUT
diff --git a/scripts/ovirt-init-functions.sh b/scripts/ovirt-init-functions.sh.in
similarity index 99%
rename from scripts/ovirt-init-functions.sh
rename to scripts/ovirt-init-functions.sh.in
index 942dc0f..d78a5c1 100644
--- a/scripts/ovirt-init-functions.sh
+++ b/scripts/ovirt-init-functions.sh.in
@@ -24,7 +24,7 @@
 . /etc/init.d/functions
 . /usr/libexec/ovirt-functions
 
-. /usr/lib/dracut/modules.d/91ovirtnode/ovirt-boot-functions
+. @DRACUTDIR@/91ovirtnode/ovirt-boot-functions
 
 NODE_CONFIG=/etc/sysconfig/node-config
 


--
To view, visit http://gerrit.ovirt.org/14847
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I26accf6b72f387a5472e617023195d213233c239
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: Michael Burns <mburns at redhat.com>



More information about the node-patches mailing list