]> code.ossystems Code Review - openembedded-core.git/commit
classes/package_rpm: avoid bash being pulled in unnecessarily
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Mon, 24 Jun 2013 18:19:07 +0000 (19:19 +0100)
committerRoss Burton <ross.burton@intel.com>
Tue, 25 Jun 2013 11:50:39 +0000 (12:50 +0100)
commit71387ee5a126e3df5771da88eb6febc400f249c8
tree184a7a7a1497d1c61145e0b1499a7bd2510b506a
parent0421102cbd78c2e8fe9a027d747be39882ebf20d
classes/package_rpm: avoid bash being pulled in unnecessarily

The initial installation step for base-passwd, base-files and shadow
will pull in bash if any of these packages depend on /bin/sh and a bash
package has been built, which is undesirable if you are using busybox;
so force the early installation of one or the other depending on which
is going to be installed in the second step.

Note: this fix is not needed for 1.4 (dylan) and newer, since there we
use smart to construct the root filesystem without this initial step.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
meta/classes/package_rpm.bbclass