]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
init-manager: define dev_manager for all init managers
authorPeter Marko <peter.marko@siemens.com>
Wed, 27 Nov 2024 19:23:33 +0000 (20:23 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 28 Nov 2024 12:26:57 +0000 (12:26 +0000)
commit89e2652ac83f2602d6dd60623a225b88dc67d288
tree0ae97a234035fed1260d1f400ce96b4fac336be8
parent211178065bdca293c84c41a9a1e79c10df95b6ad
init-manager: define dev_manager for all init managers

Currently VIRTUAL-RUNTIME_dev_manager is defined by some init managers
with "??=" and in packagegroup-core-boot with "?=".
This means that this variable is different in this package group and in
all other the recipes.
This was discovered when trying to use new feature INIT_MANAGER when
migrating to scarthgap and using systemd distro. After deleting all
VIRTUAL_RUNTIME providers defined in init-manager-systemd udev was
installed additionally via packagegroup-core-boot.

Having a distro settings overriden in single recipe is wrong and needs
to be corrected. Therefore let's define the setting in all init managers
and remove it from packagegroup-core-boot.

core-image-tiny-initramfs has a dilemma - use busybox-mdev even if
distro does not enable it in busybox recipe to keep the image tiny, or
rather not install it even if distro enables it in busybox.
This patch chooses the first option.

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/conf/distro/include/init-manager-none.inc
meta/conf/distro/include/init-manager-sysvinit.inc
meta/recipes-core/images/core-image-tiny-initramfs.bb
meta/recipes-core/packagegroups/packagegroup-core-boot.bb