[node-patches] Change in ovirt-node[master]: handle dracut directory differences

mburns at redhat.com mburns at redhat.com
Tue Sep 11 16:21:50 UTC 2012


Michael Burns has uploaded a new change for review.

Change subject: handle dracut directory differences
......................................................................

handle dracut directory differences

Remove dracut directory blacklisting
point to different dracut directories depending on version

EL6, F16, and similar have dracut config in
/usr/share/dracut while newer versions have the
config in /usr/lib/dracut.

Change-Id: Idcd805e6d52221ad49dd0647a4c7d8a23f34ddec
Signed-off-by: Mike Burns <mburns at redhat.com>
---
M recipe/common-minimizer.ks
M scripts/ovirt-functions
2 files changed, 1 insertion(+), 2 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/32/7932/1

diff --git a/recipe/common-minimizer.ks b/recipe/common-minimizer.ks
index c6b3644..c112f5d 100644
--- a/recipe/common-minimizer.ks
+++ b/recipe/common-minimizer.ks
@@ -140,7 +140,6 @@
 drop /usr/share/wallpapers
 drop /usr/share/kde-settings
 drop /usr/share/gnome-background-properties
-drop /usr/share/dracut
 drop /usr/share/setuptool
 drop /usr/share/hwdata/MonitorsDB
 drop /usr/share/hwdata/oui.txt
diff --git a/scripts/ovirt-functions b/scripts/ovirt-functions
index 1da0fca..0fb87b5 100644
--- a/scripts/ovirt-functions
+++ b/scripts/ovirt-functions
@@ -38,7 +38,7 @@
  /etc/logrotate.d/ovirt-node
 "
 
-. /usr/lib/dracut/modules.d/91ovirtnode/ovirt-boot-functions
+. @DRACUTDIR@/91ovirtnode/ovirt-boot-functions
 LF=$'\n'
 SEP=','
 TAB=$'\t'


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Idcd805e6d52221ad49dd0647a4c7d8a23f34ddec
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