]> code.ossystems Code Review - openembedded-core.git/commit
iproute2: de-bash its scripts to remove the bash dependency
authorChen Qi <qi.chen@windriver.com>
Fri, 7 Mar 2014 06:39:27 +0000 (01:39 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 11 Mar 2014 14:56:29 +0000 (07:56 -0700)
commitca55e7321f0c52fbe13d301d0dfe3adff5435639
treec33b8b118fad32bf7b550dd6dbbccb82037b1597
parenta77984aef1ef9f351a9ee0a30893e24034ed0aed
iproute2: de-bash its scripts to remove the bash dependency

If we build a minimal image with iproute2 installed, the following
error will appear during rootfs.

error: Can't install iproute2-3.10.0-r0.0@i586: no package provides /bin/bash

The problem is that iproute2 has an implicit dependency on 'bash'.
This dependency is from per-file dependency checking.

Patch two scripts, ifcfg and rtpr, from iproute2 to remove the bash
specific syntax.

[YOCTO #5415]

(From OE-Core master rev: 1132c4210eddd59b22b2640935ab0bb8f48c0124)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-connectivity/iproute2/iproute2/0001-iproute2-de-bash-scripts.patch [new file with mode: 0644]
meta/recipes-connectivity/iproute2/iproute2_3.10.0.bb