ct: Re: [yocto] trouble getting systemd oneshot to run
Agreed. I would expect the service file to be in
/lib/systemd/system/canstart.service and a symbolic link in
/etc/systemd/system/network.target.wants/canstart.service.
If those are both present, then the problem is in the servic
> understand what it is.
>>
>>
> You can check with systemctl status and other commands on the service on
> running system and might find more details
>
>>
>> --
>> *From:* Jeremy Thien <jere...@adtecinc.com>
>> *Sent:* Wednesda
etails
>
> --
> *From:* Jeremy Thien <jere...@adtecinc.com>
> *Sent:* Wednesday, March 14, 2018 1:08 PM
> *To:* Greg Wilson-Lindberg
> *Cc:* yocto@yoctoproject.org
> *Subject:* Re: [yocto] trouble getting systemd oneshot to run
>
> I
eremy Thien <jere...@adtecinc.com>
Sent: Wednesday, March 14, 2018 1:08 PM
To: Greg Wilson-Lindberg
Cc: yocto@yoctoproject.org
Subject: Re: [yocto] trouble getting systemd oneshot to run
I am no expert, but I have a similar recipe. It might be over complicated, but
I put the script in
I am no expert, but I have a similar recipe. It might be over complicated,
but I put the script in one package and the service in another something
like:
PACKAGES += "${PN}-service"
FILES_${PN} = "${datadir}/canstart/canstart.sh "
FILES_${PN}-service = "${systemd_unitdir}/system/canstart.service
I'm building yocto for a raspberry pi3 from Qt's b2qt version.
I'm running into two problems, I've got all of the files copying to the correct
locations but the .service is not running at startup. I used connman-conf.bb as
the template for my .bb file:
SUMMARY="recipe to create CAN bus