Bug 1208

Summary: busybox powertop mess up our eclipse plugin
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Lianhao Lu <lianhao.lu>
Component: coreAssignee: Dexuan Cui <dexuan.cui>
Status: RESOLVED FIXED QA Contact:
Severity: major    
Priority: High CC: jessica.zhang, liping.ke, meta.mr.watcher, meta.watcher, sgw, shane.wang
Version: 1.0-alpha   
Target Milestone: 1.1 M3   
Hardware: x86   
OS: Multiple   
Whiteboard: (Jul 8, 2011) The fix is already in poky master.
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---

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