mirror of
https://git.yoctoproject.org/poky
synced 2026-06-06 03:52:39 +02:00
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>
42 lines
1.0 KiB
BlitzBasic
42 lines
1.0 KiB
BlitzBasic
#
|
|
# Copyright (C) 2007 OpenedHand Ltd.
|
|
#
|
|
|
|
DESCRIPTION = "Task for OpenedHand Poky - minimal bootable image"
|
|
LICENSE = "MIT"
|
|
LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \
|
|
file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
|
|
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
|
DEPENDS = "virtual/kernel"
|
|
ALLOW_EMPTY = "1"
|
|
PR = "r8"
|
|
|
|
#
|
|
# Set by the machine configuration with packages essential for device bootup
|
|
#
|
|
MACHINE_ESSENTIAL_EXTRA_RDEPENDS ?= ""
|
|
MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS ?= ""
|
|
|
|
PACKAGES = "\
|
|
task-core-boot \
|
|
task-core-boot-dbg \
|
|
task-core-boot-dev \
|
|
"
|
|
|
|
RDEPENDS_task-core-boot = "\
|
|
base-files \
|
|
base-passwd \
|
|
busybox \
|
|
initscripts \
|
|
${@base_contains("MACHINE_FEATURES", "keyboard", "keymaps", "", d)} \
|
|
modutils-initscripts \
|
|
netbase \
|
|
sysvinit \
|
|
tinylogin \
|
|
udev \
|
|
${VIRTUAL-RUNTIME_update-alternatives} \
|
|
${MACHINE_ESSENTIAL_EXTRA_RDEPENDS}"
|
|
|
|
RRECOMMENDS_task-core-boot = "\
|
|
${MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS}"
|