diff options
-rw-r--r-- | meta/recipes-bsp/keymaps/keymaps_1.0.bb | 6 | ||||
-rw-r--r-- | meta/recipes-core/tasks/task-core-boot.bb | 6 |
2 files changed, 9 insertions, 3 deletions
diff --git a/meta/recipes-bsp/keymaps/keymaps_1.0.bb b/meta/recipes-bsp/keymaps/keymaps_1.0.bb index 23a3051b6d..4fe7987b10 100644 --- a/meta/recipes-bsp/keymaps/keymaps_1.0.bb +++ b/meta/recipes-bsp/keymaps/keymaps_1.0.bb | |||
@@ -1,7 +1,11 @@ | |||
1 | SUMMARY = "Keyboard maps" | 1 | SUMMARY = "Keyboard maps" |
2 | DESCRIPTION = "Keymaps and initscript to set the keymap on bootup." | 2 | DESCRIPTION = "Keymaps and initscript to set the keymap on bootup." |
3 | SECTION = "base" | 3 | SECTION = "base" |
4 | RDEPENDS_${PN} = "initscripts console-tools" | 4 | |
5 | # Distro can override initscripts provider | ||
6 | VIRTUAL-RUNTIME_initscripts ?= "initscripts" | ||
7 | |||
8 | RDEPENDS_${PN} = "${VIRTUAL-RUNTIME_initscripts} console-tools" | ||
5 | LICENSE = "GPLv2" | 9 | LICENSE = "GPLv2" |
6 | LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" | 10 | LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" |
7 | PACKAGE_ARCH = "${MACHINE_ARCH}" | 11 | PACKAGE_ARCH = "${MACHINE_ARCH}" |
diff --git a/meta/recipes-core/tasks/task-core-boot.bb b/meta/recipes-core/tasks/task-core-boot.bb index 9e63ebb52c..05c280dd13 100644 --- a/meta/recipes-core/tasks/task-core-boot.bb +++ b/meta/recipes-core/tasks/task-core-boot.bb | |||
@@ -9,7 +9,7 @@ LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3 | |||
9 | PACKAGE_ARCH = "${MACHINE_ARCH}" | 9 | PACKAGE_ARCH = "${MACHINE_ARCH}" |
10 | DEPENDS = "virtual/kernel" | 10 | DEPENDS = "virtual/kernel" |
11 | ALLOW_EMPTY = "1" | 11 | ALLOW_EMPTY = "1" |
12 | PR = "r8" | 12 | PR = "r9" |
13 | 13 | ||
14 | # | 14 | # |
15 | # Set by the machine configuration with packages essential for device bootup | 15 | # Set by the machine configuration with packages essential for device bootup |
@@ -23,6 +23,8 @@ VIRTUAL-RUNTIME_dev_manager ?= "udev" | |||
23 | VIRTUAL-RUNTIME_login_manager ?= "tinylogin" | 23 | VIRTUAL-RUNTIME_login_manager ?= "tinylogin" |
24 | # Distro can override init_manager provider | 24 | # Distro can override init_manager provider |
25 | VIRTUAL-RUNTIME_init_manager ?= "sysvinit" | 25 | VIRTUAL-RUNTIME_init_manager ?= "sysvinit" |
26 | # Distro can override initscripts provider | ||
27 | VIRTUAL-RUNTIME_initscripts ?= "initscripts" | ||
26 | 28 | ||
27 | PACKAGES = "\ | 29 | PACKAGES = "\ |
28 | task-core-boot \ | 30 | task-core-boot \ |
@@ -34,7 +36,7 @@ RDEPENDS_task-core-boot = "\ | |||
34 | base-files \ | 36 | base-files \ |
35 | base-passwd \ | 37 | base-passwd \ |
36 | busybox \ | 38 | busybox \ |
37 | initscripts \ | 39 | ${VIRTUAL-RUNTIME_initscripts} \ |
38 | ${@base_contains("MACHINE_FEATURES", "keyboard", "keymaps", "", d)} \ | 40 | ${@base_contains("MACHINE_FEATURES", "keyboard", "keymaps", "", d)} \ |
39 | modutils-initscripts \ | 41 | modutils-initscripts \ |
40 | netbase \ | 42 | netbase \ |