Bug 1208 - busybox powertop mess up our eclipse plugin
Summary: busybox powertop mess up our eclipse plugin
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: 1.0-alpha
Hardware: x86 Multiple
: High major
Target Milestone: 1.1 M3
Assignee: Dexuan Cui
QA Contact:
URL:
Whiteboard: (Jul 8, 2011) The fix is already in p...
Depends on:
Blocks:
 
Reported: 2011-07-01 00:52 UTC by Lianhao Lu
Modified: 2011-07-07 17:43 UTC (History)
6 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lianhao Lu 2011-07-01 00:52:57 UTC
For core-image-sato-sdk, there are 2 different versions of powertop installed. One is the busybox powertop which has limited function, and the other is the normal powertop v1.13. Our eclipse plugin needs the powertop to support "-d" option to be functional, which is not supported by the busybox powertop. The busybox powertop should be removed from the -sdk image so the normal powertop can be seen by our eclipse plugin.
Comment 1 Dexuan Cui 2011-07-01 02:04:32 UTC
(In reply to comment #0)
> For core-image-sato-sdk, there are 2 different versions of powertop installed.
> One is the busybox powertop which has limited function, and the other is the
> normal powertop v1.13. Our eclipse plugin needs the powertop to support "-d"
> option to be functional, which is not supported by the busybox powertop. The
> busybox powertop should be removed from the -sdk image so the normal powertop
> can be seen by our eclipse plugin.

In May, busybox was updated to 1.18.4 that addes its powertop with limited function.

Looks the fix should be disabling the powertop from busybox-1.18.4.
I'm going to look into this.
Comment 2 Dexuan Cui 2011-07-07 01:40:51 UTC
(In reply to comment #1)
> (In reply to comment #0)
> > For core-image-sato-sdk, there are 2 different versions of powertop installed.
> > One is the busybox powertop which has limited function, and the other is the
> > normal powertop v1.13. Our eclipse plugin needs the powertop to support "-d"
> > option to be functional, which is not supported by the busybox powertop. The
> > busybox powertop should be removed from the -sdk image so the normal powertop
> > can be seen by our eclipse plugin.
> In May, busybox was updated to 1.18.4 that addes its powertop with limited
> function.
> Looks the fix should be disabling the powertop from busybox-1.18.4.
> I'm going to look into this.

A better ideas is: we use update-alternatives for powertop with higher priority to resolve the issue. I've sent out the patch:
http://git.pokylinux.org/cgit.cgi/poky-contrib/commit/?h=dcui/distro&id=cb76f021571c5f35239192ff05eb89cab4713d04