Bug 5415

Summary: iproute2 should not implicitly rdepend on bash
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Chen Qi <Qi.Chen>
Component: coreAssignee: Chen Qi <Qi.Chen>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: ke.zou, liezhi.yang, meta.mr.watcher, meta.watcher, sgw, yi.zhao
Version: 1.5   
Target Milestone: 1.6 M1   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Chen Qi 2013-10-30 01:53:55 UTC
Error Message:
error: Can't install iproute2-3.10.0-r0.0@i586: no package provides /bin/bash

Reproduce steps:
1. IMAGE_INSTALL_append = " iproute2"
2. bitbake core-image-minimal

The 'bash' dependency is added to iproute2 by checking per-file dependency, but as 'bash' is not explicitly specified in the RDEPENDS, its not built and thus not in the package feed. And this leads to the error above.

//Chen Qi
Comment 1 Chen Qi 2013-11-01 07:59:39 UTC
The scripts in iproute2 that need bash should be changed to remove the bashism.

//Chen Qi
Comment 2 Chen Qi 2013-11-19 04:51:18 UTC
merged into  poky/mater: 90c709da9b3e8d3167a0ecb6ef91f569a70fe285
Comment 3 Ke Zou 2013-12-25 08:05:25 UTC
verified in poky master: 005af45191ded6185c618c708181b31281e43092