Change (and remove unused) init system on a per-image basis #yocto #bitbake #systemd #sysvinit
lel@...
Hi all,
I would like to change the init system (systemd / SysVinit) on a per-image basis. REQUIRED_DISTRO_FEATURES = "systemd"
DISTRO_FEATURES_BACKFILL_CONSIDERED = "${@bb.utils.contains('REQUIRED_DISTRO_FEATURES', 'systemd', 'sysvinit', '', d)}"
$ bitbake image-systemd -e | grep DISTRO_FEATURES_BACKFILL_CONSIDERED= DISTRO_FEATURES_BACKFILL_CONSIDERED="sysvinit" But the final rootfs still contains sysvinit scripts (/etc/init.d/*) DISTRO_FEATURES_BACKFILL_CONSIDERED="sysvinit"
|
|
you are better off by having two different DISTROs like poky and poky-altcfg is.
toggle quoted message
Show quoted text
On 3/24/21 7:12 AM, lel@... wrote:
Hi all, |
|