On 9 June 2016 at 02:11, Dey, Megha <megha....@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
-- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto