diff options
| author | Dongxiao Xu <dongxiao.xu@intel.com> | 2011-08-05 13:48:25 +0800 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-08-05 17:43:35 +0100 |
| commit | fe53449330c98a8ced424bbe1161c0035836646d (patch) | |
| tree | 7e07a51d5e49cac269189a7eccddd5a6a10da8d4 | |
| parent | 12cd07cd69baf49893504dd890601064b2b78ab1 (diff) | |
| download | poky-fe53449330c98a8ced424bbe1161c0035836646d.tar.gz | |
task-core-boot.bb: Add PACKAGE definition to facilitate multilib
If there is no PACKAGES defined in bb file, its default definition would
be "${PN}-dbg ${PN} ${PN}-doc ${PN}-dev ${PN}-staticdev ${PN}-locale".
In multilib case, ${PN} is extended with ${MLPREFIX}, so there is no
rename occurred for the PACKAGES. Therefore for task-core-boot,
RDEPENDS_lib32-task-core-boot will be empty, resulting busybox,
tinylogin, etc. are not bulit out.
This fixed the issue that /bin/sh is not provided while do_rootfs.
(From OE-Core rev: f3d8fd28d779ff841410e5bd22289680f04022a2)
Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
| -rw-r--r-- | meta/recipes-core/tasks/task-core-boot.bb | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/meta/recipes-core/tasks/task-core-boot.bb b/meta/recipes-core/tasks/task-core-boot.bb index 5aea77169f..eb2b5484a2 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 = "r7" | 12 | PR = "r8" |
| 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 |
| @@ -17,6 +17,12 @@ PR = "r7" | |||
| 17 | MACHINE_ESSENTIAL_EXTRA_RDEPENDS ?= "" | 17 | MACHINE_ESSENTIAL_EXTRA_RDEPENDS ?= "" |
| 18 | MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS ?= "" | 18 | MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS ?= "" |
| 19 | 19 | ||
| 20 | PACKAGES = "\ | ||
| 21 | task-core-boot \ | ||
| 22 | task-core-boot-dbg \ | ||
| 23 | task-core-boot-dev \ | ||
| 24 | " | ||
| 25 | |||
| 20 | RDEPENDS_task-core-boot = "\ | 26 | RDEPENDS_task-core-boot = "\ |
| 21 | base-files \ | 27 | base-files \ |
| 22 | base-passwd \ | 28 | base-passwd \ |
