task-core-boot, keymaps: add another VIRTUAL-RUNTIME to allow distributions to use different set of initscripts or no initscripts at all
(From OE-Core rev: 739692ac066319d830d0eb7d27ef1075f259efe4) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
e6c97842bf
commit
06765229cc
|
@ -1,7 +1,11 @@
|
||||||
SUMMARY = "Keyboard maps"
|
SUMMARY = "Keyboard maps"
|
||||||
DESCRIPTION = "Keymaps and initscript to set the keymap on bootup."
|
DESCRIPTION = "Keymaps and initscript to set the keymap on bootup."
|
||||||
SECTION = "base"
|
SECTION = "base"
|
||||||
RDEPENDS_${PN} = "initscripts console-tools"
|
|
||||||
|
# Distro can override initscripts provider
|
||||||
|
VIRTUAL-RUNTIME_initscripts ?= "initscripts"
|
||||||
|
|
||||||
|
RDEPENDS_${PN} = "${VIRTUAL-RUNTIME_initscripts} console-tools"
|
||||||
LICENSE = "GPLv2"
|
LICENSE = "GPLv2"
|
||||||
LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
|
LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
|
||||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||||
|
|
|
@ -9,7 +9,7 @@ LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3
|
||||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||||
DEPENDS = "virtual/kernel"
|
DEPENDS = "virtual/kernel"
|
||||||
ALLOW_EMPTY = "1"
|
ALLOW_EMPTY = "1"
|
||||||
PR = "r8"
|
PR = "r9"
|
||||||
|
|
||||||
#
|
#
|
||||||
# Set by the machine configuration with packages essential for device bootup
|
# Set by the machine configuration with packages essential for device bootup
|
||||||
|
@ -23,6 +23,8 @@ VIRTUAL-RUNTIME_dev_manager ?= "udev"
|
||||||
VIRTUAL-RUNTIME_login_manager ?= "tinylogin"
|
VIRTUAL-RUNTIME_login_manager ?= "tinylogin"
|
||||||
# Distro can override init_manager provider
|
# Distro can override init_manager provider
|
||||||
VIRTUAL-RUNTIME_init_manager ?= "sysvinit"
|
VIRTUAL-RUNTIME_init_manager ?= "sysvinit"
|
||||||
|
# Distro can override initscripts provider
|
||||||
|
VIRTUAL-RUNTIME_initscripts ?= "initscripts"
|
||||||
|
|
||||||
PACKAGES = "\
|
PACKAGES = "\
|
||||||
task-core-boot \
|
task-core-boot \
|
||||||
|
@ -34,7 +36,7 @@ RDEPENDS_task-core-boot = "\
|
||||||
base-files \
|
base-files \
|
||||||
base-passwd \
|
base-passwd \
|
||||||
busybox \
|
busybox \
|
||||||
initscripts \
|
${VIRTUAL-RUNTIME_initscripts} \
|
||||||
${@base_contains("MACHINE_FEATURES", "keyboard", "keymaps", "", d)} \
|
${@base_contains("MACHINE_FEATURES", "keyboard", "keymaps", "", d)} \
|
||||||
modutils-initscripts \
|
modutils-initscripts \
|
||||||
netbase \
|
netbase \
|
||||||
|
|
Loading…
Reference in New Issue