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

login
register
mail settings
Submitter Dongxiao Xu
Date Aug. 5, 2011, 5:48 a.m.
Message ID <cover.1312522526.git.dongxiao.xu@intel.com>
Download mbox
Permalink /patch/9343/
State New, archived
Headers show

Pull-request

git://git.pokylinux.org/poky-contrib dxu4/ml2

Comments

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
lib32-core-image-sato.

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 task-core-xxx.bb files, this commit explicitly defines PACKAGES
in task-core-boot.bb to fix this issue.

Thanks,
Dongxiao

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://git.pokylinux.org/poky-contrib dxu4/ml2
  http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=dxu4/ml2

Dongxiao Xu (1):
  task-core-boot.bb: Add PACKAGE definition to facilitate multilib

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