]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
default-providers: define keymaps virtual runtime provider
authorPeter Marko <peter.marko@siemens.com>
Wed, 27 Nov 2024 19:23:34 +0000 (20:23 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 28 Nov 2024 12:26:57 +0000 (12:26 +0000)
VIRTUAL-RUNTIME_keymaps is defined in busybox init manager and also in
some package groups. Defining distro features in recipes is wrong.
Also this is not directly related to init manager.
So move all these definitions to default-providers.inc

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/conf/distro/include/default-providers.inc
meta/conf/distro/include/init-manager-mdev-busybox.inc
meta/recipes-core/packagegroups/packagegroup-base.bb
meta/recipes-core/packagegroups/packagegroup-core-boot.bb

index b32c4e0d2543dcbe5a8960971e234554bf06dd0d..506d77811fa8f14a1ca0fef57335d4d146eca486 100644 (file)
@@ -29,6 +29,7 @@ VIRTUAL-RUNTIME_getopt ?= "util-linux-getopt"
 VIRTUAL-RUNTIME_base-utils ?= "busybox"
 VIRTUAL-RUNTIME_base-utils-hwclock ?= "busybox-hwclock"
 VIRTUAL-RUNTIME_base-utils-syslog ?= "busybox-syslog"
+VIRTUAL-RUNTIME_keymaps ?= "keymaps"
 
 #
 # Default recipe providers
index 12091cba68c51452fcb33c365de63d872b3e42b9..d9b05e1781b4217f9f52851b87cc25400a595780 100644 (file)
@@ -3,5 +3,4 @@ DISTRO_FEATURES_BACKFILL_CONSIDERED:append = " systemd sysvinit"
 VIRTUAL-RUNTIME_dev_manager ??= "busybox-mdev"
 VIRTUAL-RUNTIME_init_manager ??= "busybox"
 VIRTUAL-RUNTIME_initscripts ??= "initscripts"
-VIRTUAL-RUNTIME_keymaps ??= "keymaps"
 VIRTUAL-RUNTIME_login_manager ??= "busybox"
index 70a10350031dd62b1d7f50533073805175b8f9f5..cb9d1f07af519ee298b338511f3869be5620c886 100644 (file)
@@ -39,9 +39,6 @@ PACKAGES = ' \
             \
             '
 
-# Override by distro if needed
-VIRTUAL-RUNTIME_keymaps ?= "keymaps"
-
 #
 # packagegroup-base contain stuff needed for base system (machine related)
 #
index fa06092e279c0ce146e9551ca54dbd646c6290d9..5cdd1618115bd35ab5db533fe77cd230f8afdc66 100644 (file)
@@ -9,9 +9,6 @@ PACKAGE_ARCH = "${MACHINE_ARCH}"
 
 inherit packagegroup
 
-# Distro can override the following VIRTUAL-RUNTIME providers:
-VIRTUAL-RUNTIME_keymaps ?= "keymaps"
-
 EFI_PROVIDER ??= "grub-efi"
 
 SYSVINIT_SCRIPTS = "${@bb.utils.contains('MACHINE_FEATURES', 'rtc', '${VIRTUAL-RUNTIME_base-utils-hwclock}', '', d)} \