[node-patches] Change in ovirt-node[master]: add in legacy dracut modules for el6 variants
jboggs at redhat.com
jboggs at redhat.com
Fri May 31 19:28:34 UTC 2013
Joey Boggs has uploaded a new change for review.
Change subject: add in legacy dracut modules for el6 variants
......................................................................
add in legacy dracut modules for el6 variants
Change-Id: I2f496d9cdc9ccce121e6fafca1c92e52b6740603
Signed-off-by: Joey Boggs <jboggs at redhat.com>
---
M dracut/Makefile.am
A dracut/check
A dracut/install
M ovirt-node.spec.in
4 files changed, 20 insertions(+), 0 deletions(-)
git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/61/15261/1
diff --git a/dracut/Makefile.am b/dracut/Makefile.am
index ea70a47..fed5d20 100644
--- a/dracut/Makefile.am
+++ b/dracut/Makefile.am
@@ -23,6 +23,12 @@
ovirt-cleanup.sh \
ovirt-boot-functions
+if TARGET_RHEL
+dist_dracut_SCRIPTS += \
+ $(top_builddir)/dracut/check \
+ $(top_builddir)/dracut/install
+endif
+
dist_dracutconf_DATA = \
ovirt-dracut.conf
diff --git a/dracut/check b/dracut/check
new file mode 100755
index 0000000..add8269
--- /dev/null
+++ b/dracut/check
@@ -0,0 +1,5 @@
+#!/bin/bash
+
+. $moddir/module-setup.sh
+
+check
diff --git a/dracut/install b/dracut/install
new file mode 100755
index 0000000..2b89d37
--- /dev/null
+++ b/dracut/install
@@ -0,0 +1,5 @@
+#!/bin/bash
+
+. $moddir/module-setup.sh
+
+install
diff --git a/ovirt-node.spec.in b/ovirt-node.spec.in
index 59a2ac6..260a19c 100644
--- a/ovirt-node.spec.in
+++ b/ovirt-node.spec.in
@@ -507,6 +507,10 @@
%{dracutdir}/91ovirtnode/module-setup.sh
%{dracutdir}/91ovirtnode/ovirt-boot-functions
%{dracutdir}/91ovirtnode/ovirt-cleanup.sh
+%if 0%{?rhel}
+%{dracutdir}/91ovirtnode/check
+%{dracutdir}/91ovirtnode/install
+%endif
%{_sysconfdir}/dracut.conf.d/ovirt-dracut.conf
%{_libexecdir}/ovirt-auto-install
%{_libexecdir}/ovirt-config-password
--
To view, visit http://gerrit.ovirt.org/15261
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I2f496d9cdc9ccce121e6fafca1c92e52b6740603
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: Joey Boggs <jboggs at redhat.com>
More information about the node-patches
mailing list