[yocto] Script being installed under /etc/init.d instead of /usr/lib/systemd folder
Burton, Ross
ross.burton at intel.com
Tue Jun 14 09:41:23 PDT 2016
On 9 June 2016 at 02:11, Dey, Megha <megha.dey at intel.com> wrote:
> However, I do have a script recipe which is currently placed as a bbappend
> to initscripts (meta/recipes-core/initscripts/initscript_..bb) in my custom
> meta layer.
>
>
>
> This script even after shifting to systemd, is being placed in the
> /etc/init.d/ folder, and hence doesn’t run on boot. I want this to be
> placed in the /usr/lib/system.d/ folder instead. How would I be able to do
> this?
>
>
sysv-style init scripts go into /etc/init.d, systemd units do into
/lib/system.d As this is your append then it is up to you to place the
file in the right location.
If you're installing a traditional init script then /etc/init.d is the
right place for it to be installed, if you're attempting to install a
systemd unit then look at the documentation for the systemd class.
Ross
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20160614/455ee603/attachment.html>
More information about the yocto
mailing list