All of lore.kernel.org
 help / color / mirror / Atom feed
* Script being installed under /etc/init.d instead of /usr/lib/systemd folder
@ 2016-06-09  1:11 Dey, Megha
  2016-06-14 15:32 ` piotr.lewicki
  2016-06-14 16:41   ` Burton, Ross
  0 siblings, 2 replies; 4+ messages in thread
From: Dey, Megha @ 2016-06-09  1:11 UTC (permalink / raw)
  To: yocto@yoctoproject.org, poky@yoctoproject.org

[-- Attachment #1: Type: text/plain, Size: 1011 bytes --]

Hi,

I am trying to use the systemd init system from the existing system. I have added the following to my conf file:
DISTRO_FEATURES_append = " systemd"
VIRTUAL-RUNTIME_init_manager = "systemd"
VIRTUAL-RUNTIME_initscripts = ""
DISTRO_FEATURES_BACKFILL_CONSIDERED += "sysvinit"

I have also added the 'systemd' binary to the INSTALL_APPEND.
When I boot the resulting image, I do see systemd up and running and I am able to start and stop services.

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?

Is it because this script is an append to initscripts, it by default gets installed under /etc/init.d? If so, where should I place the recipe?

Thanks,
Megha


[-- Attachment #2: Type: text/html, Size: 3451 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-06-14 16:41 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-09  1:11 Script being installed under /etc/init.d instead of /usr/lib/systemd folder Dey, Megha
2016-06-14 15:32 ` piotr.lewicki
2016-06-14 16:41 ` [yocto] " Burton, Ross
2016-06-14 16:41   ` Burton, Ross

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.