[node-devel] Failed build node on F16 and F15

Fabian Deutsch fabiand at redhat.com
Fri Jun 29 08:42:18 UTC 2012


Hey,

Am Freitag, den 29.06.2012, 16:18 +0800 schrieb Eli Qiao:
> %if %is_f16
> # install libvirtd systemd service
> %{__install} -p -m0644 libvirtd.service %{buildroot}%{_unitdir}
> %endif
> 
> %if %is_f16
> %{_unitdir}/libvirtd.service
> %endif
> 
> what about F17 ? doesn't F17 need them ?

IIRC libvirt is providing it's own service file on F17.

<snip>

> I think the {_unitdir} are difference between F17 and F16&F15 , so I
> give a ugly fix in ovirt-node.spec.in:
> 
> %define is_f17 %(test "0%{?fedora}" == "017" && echo 1 || echo 0)
> %if %is_f17
> %else
> %define _unitdir /usr/lib/systemd/system
> %endif
> 
> I can build it successfully , but I am not sure it is correct. 

That sounds reasonable, I wonder why systemd-units (which AFAIK defines
_unitdir) isn't providing a different path on F15/F16.

Greetings
fabian

> -- 
> Thanks. Best regards. --Eli Qiao
> _______________________________________________
> node-devel mailing list
> node-devel at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/node-devel

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <http://lists.ovirt.org/pipermail/node-devel/attachments/20120629/ecc04703/attachment.sig>


More information about the node-devel mailing list