Anatoly Litovsky has uploaded a new change for review. Change subject: Removing duplicate dracut detection ......................................................................
Removing duplicate dracut detection The dracut version and detection is performed in the configure.ac There is no reason to have two separate methods for dracut detection Change-Id: I9e9870d85322e4646dba62b09b6cda077ea82e82 Signed-off-by: Tolik Litovsky <[email protected]> --- M ovirt-node.spec.in 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/52/44752/1 diff --git a/ovirt-node.spec.in b/ovirt-node.spec.in index 13a74d2..906c4c8 100644 --- a/ovirt-node.spec.in +++ b/ovirt-node.spec.in @@ -5,7 +5,7 @@ %define is_rhel_systemd %(test 0%{?rhel} -ne 0 && test %{?rhel} -ge 7 && echo 1 || echo 0) %define is_centos_systemd %(test 0%{?centos} -ne 0 && test %{?centos} -ge 7 && echo 1 || echo 0) %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 dracutdir @DRACUTDIR@ %define is_el7 %(test 0%{?centos} -eq 07 || test 0%{?rhel} -eq 07 && echo 1 || echo 0) # RHN Plugin is only build on RHEL -- To view, visit https://gerrit.ovirt.org/44752 To unsubscribe, visit https://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I9e9870d85322e4646dba62b09b6cda077ea82e82 Gerrit-PatchSet: 1 Gerrit-Project: ovirt-node Gerrit-Branch: master Gerrit-Owner: Anatoly Litovsky <[email protected]> _______________________________________________ node-patches mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/node-patches
