[OE-core] [PATCH 1/1] powertop: inherit update-alternatives and use a higher priority than busybox

Tom Rini tom_rini at mentor.com
Thu Jul 7 15:40:57 UTC 2011


On 07/07/2011 01:39 AM, Dexuan Cui wrote:
> 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 at intel.com>

This fix seems a bit incomplete.  Why is busybox putting powertop into
/bin when it almost certainly belongs in /usr/bin like the real recipe
was placing it.  busybox needs a fix here too.

-- 
Tom Rini
Mentor Graphics Corporation




More information about the Openembedded-core mailing list