[node-devel] Failed build node on F16 and F15
Eli Qiao
taget at linux.vnet.ibm.com
Mon Jul 2 02:34:44 UTC 2012
于 2012年06月29日 17:57, Alan Pevec 写道:
> On Fri, Jun 29, 2012 at 10:42 AM, Fabian Deutsch<fabiand at redhat.com> wrote:
>> > Am Freitag, den 29.06.2012, 16:18 +0800 schrieb Eli Qiao:
>>> >> 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.
on f17 and f16,f15 , the_unitdir has difference path
[root at ovirt ~]# rpm --showrc | grep unit
-14: _unitdir /lib/systemd/system
[root at ovirt ~]# uname -a
Linux ovirt 3.0.0-1.fc16.x86_64 #1 SMP Fri Jul 22 16:09:29 UTC 2011
x86_64 x86_64 x86_64 GNU/Linux
------------------------------------------------
[root at ovirt-node ~]# rpm --showrc | grep unit
-14: _unitdir /lib/systemd/system
[root at ovirt-node ~]# uname -a
Linux ovirt-node 2.6.38.6-26.rc1.fc15.i686.PAE #1 SMP Mon May 9 20:36:50
UTC 2011 i686 i686 i386 GNU/Linux
------------------------------------------------
[root at ovirt ~]# rpm --showrc | grep unit
-14: _unitdir /usr/lib/systemd/system
[root at ovirt ~]# uname -a
Linux ovirt 3.3.4-5.fc17.x86_64 #1 SMP Mon May 7 17:29:34 UTC 2012
x86_64 x86_64 x86_64 GNU/Linux
--
Thanks. Best regards. --Eli Qiao
More information about the node-devel
mailing list