]> code.ossystems Code Review - openembedded-core.git/commit
powertop: inherit update-alternatives and use a higher priority than busybox
authorDexuan Cui <dexuan.cui@intel.com>
Thu, 7 Jul 2011 07:45:57 +0000 (15:45 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 7 Jul 2011 12:37:17 +0000 (13:37 +0100)
commite4102c3d2205371db4da7db7bca1a5853bb3c23e
treef79c2a2879fac298d91816867612bb49d2cdb684
parentd97eeadc4e759d4e7793c30f6cc214e86e8df35c
powertop: inherit update-alternatives and use a higher priority than busybox

busybox-1.18.4 installs /bin/powertop and the powertop recipe installs
/usr/bin/powertop. So, in PATH, if /bin appears before /usr/bin, we would
run the version offered by busybox, which has a very limited function (e.g.,
no parameter is accepted) and this causes trouble to eclipse plugin.

We can use update-alternatives for powertop with higher priority to resolve
the issue.

Fixes [YOCTO #1208]

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
meta/recipes-kernel/powertop/powertop_1.13.bb