On Sat, Jun 11, 2016 at 10:32 AM, Alexis Lothoré
<[email protected]> wrote:
> Hello Matt,
> thank you for your answer, I was typing a mail to, I found this fix too
> minutes before your answer ^^
> However, I do not understand why the first syntax did not work, since the
> systemd class seems to seek the service file here to. Here is the code which
> make me think of that possibility, in systemd.bbclass :

Yes, the search code does work; I have some recipes that install
systemd services into /etc/systemd/system.  I think the problem was in
your do_install().

[...]
>> do_install () {
>>     install -d ${D}{sysconfdir}/systemd/system
>>     install -d ${D}/opt/lowpan
>>     install -m 0755 ${WORKDIR}/lowpan.service
>> ${D}{sysconfdir}/systemd/system
            ^--- missing '$' here
>>     install -m 0755 ${WORKDIR}/init.sh ${D}/opt/lowpan
>> }

-Matt
-- 
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to