[node-patches] Change in ovirt-node[master]: Add grub2-efi-modules on EL 7.1

rbarry at redhat.com rbarry at redhat.com
Wed Feb 18 16:54:01 UTC 2015


Ryan Barry has uploaded a new change for review.

Change subject: Add grub2-efi-modules on EL 7.1
......................................................................

Add grub2-efi-modules on EL 7.1

The grub2-efi packages got broken up on 7.1. Include the
subpackages as dependencies for ovirt-node so they get pulled into
the build and we get all the right bits for EFI support.

Change-Id: I507b0e9f74cd5937161468f7415d0edf12a100e8
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1192786
Signed-off-by: Ryan Barry <rbarry at redhat.com>
---
M ovirt-node.spec.in
1 file changed, 6 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/30/37930/1

diff --git a/ovirt-node.spec.in b/ovirt-node.spec.in
index e945892..feb96c4 100644
--- a/ovirt-node.spec.in
+++ b/ovirt-node.spec.in
@@ -11,6 +11,9 @@
 %define is_systemd %( test %{is_rhel_systemd} -eq 1 || test %{is_centos_systemd} = 1 || test %{is_fedora_systemd} = 1 && echo 1 || echo 0)
 %define dracutdir %(test -e /usr/share/dracut && echo "/usr/share/dracut/modules.d" || echo "/usr/lib/dracut/modules.d")
 %define is_el6 %(test 0%{?centos} -eq 06 || test 0%{?rhel} -eq 06 && echo 1 || echo 0)
+%define is_rhel_71 %(test $(rpm -q --qf "%{VERSION}" redhat-release-server) == "7.0" && echo 1 || echo 0)
+%define is_centos_71 %(test $(rpm -q --qf "%{VERSION}" centos-release) == "7.1" && echo 1 || echo 0)
+%define is_el71 %(test %{is_rhel_71} -eq 1 || test %{is_centos_71} && echo 1 || echo 0)
 
 # Igor can only be shipped on Fedora (because of python-uinput)
 %define with_igor 0%{?is_min_f19}
@@ -51,6 +54,9 @@
 %if ! 0%{?is_el6}
 Requires:       python-augeas
 %endif
+%if %{is_el71}
+Requires:       grub2-efi-modules
+%endif
 Requires:       glusterfs-client >= 2.0.1
 Requires:       system-release
 Requires:       augeas >= 0.3.5


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I507b0e9f74cd5937161468f7415d0edf12a100e8
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: Ryan Barry <rbarry at redhat.com>



More information about the node-patches mailing list