busybox_%.bbappend: fix systemd boot#4
busybox_%.bbappend: fix systemd boot#4thomas-roos wants to merge 1 commit intonxp-auto-linux:release/bsp37.0-4.0from
Conversation
# otherwise no systemd init.cfg is used always, mean /sbin/init is pointing at busybox, by this modification this is only using init.cfg when busybox is enabled, as it is in done in poky layer.
|
Hello @thomas-roos , it seems that on a regular 'fsl-image-auto' Yocto build, as supported by 'meta-alb' layer, the /sbin/init correctly points to 'systemd' Hence, maybe additional changes from other Yocto layers are leading to a wrongly defined '/sbin/init'. As part of meta-alb, we added this 'init.cfg' config fragment in order to support LXC feature. Therefore, instead of directly removing init.cfg or masking the 'busybox' bbappend file from meta-alb layer, maybe a conditional enablement based on 'lxc' DISTRO_FEATURE would be feasible ? |
|
Hi, Also fsl-image-auto does not work correctly here: |
otherwise no systemd init.cfg is used always, mean /sbin/init is pointing at busybox, by this modification this is only using init.cfg when busybox is enabled, as it is in done in poky layer.