Re: [yocto] trouble getting systemd oneshot to run

2018-03-15 Thread Greg Wilson-Lindberg
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

Re: [yocto] trouble getting systemd oneshot to run

2018-03-15 Thread Jeremy Thien
> 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

Re: [yocto] trouble getting systemd oneshot to run

2018-03-14 Thread Khem Raj
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

Re: [yocto] trouble getting systemd oneshot to run

2018-03-14 Thread Greg Wilson-Lindberg
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

Re: [yocto] trouble getting systemd oneshot to run

2018-03-14 Thread Jeremy Thien
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

[yocto] trouble getting systemd oneshot to run

2018-03-14 Thread Greg Wilson-Lindberg
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