Patchwork [0/1,PULL] fix /bin/sh missing in multilib case

mail settings
Submitter Dongxiao Xu
Date Aug. 5, 2011, 5:48 a.m.
Message ID <>
Download mbox
Permalink /patch/9343/
State New, archived
Headers show


git:// dxu4/ml2


Dongxiao Xu - Aug. 5, 2011, 5:48 a.m.
Hi Richard,

This pull request fixes the /bin/sh missing issue in doing multilib rootfs of

multilib.bbclass will check whether PACKAGES are begin with MLPREFIX. If not,
it will tries to rename variables like: FILES_pkg, RDEPENDS_pkg, etc.

Recipe task-core-boot RDEPENDS some key recipes like busybox, tinylogin, etc,
while it doesn't have PACKAGES defined, so it will use default PACKAGES
definition in bitbake:

"${PN}-dbg ${PN} ${PN}-doc ${PN}-dev ${PN}-staticdev ${PN}-locale".

${PN} is begin with MLPREFIX, therefore for PACKAGES of task-core-boot, no
rename occurred, resulting that RDEPENDS_lib32-task-core-boot is empty.
busybox, tinylogin, etc. are not built out, which caused the missing of /bin/sh.

Like the other files, this commit explicitly defines PACKAGES
in to fix this issue.


The following changes since commit 8a731122e7811275f20065ba27645b97fadf362d:

  eglibc: Fix patch merge breakage (2011-08-04 15:41:08 +0100)

are available in the git repository at:
  git:// dxu4/ml2

Dongxiao Xu (1): Add PACKAGE definition to facilitate multilib

 meta/recipes-core/tasks/ |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)