hi,
I am trying to create a script for thermal testing and ultimately integrate it with lava. As of now I have used shell/bash script and as many important commands(grep, awk) are not supported by android so I compiled and added busybox and this work nice but I am not sure if this setup is/will be used in the android build or release and may be I should use some other script like python. The advantage of shell script is that it will be same for Uubuntu and android LEB's I am not sure who to contact so any suggestion will be appreciated.
Thanks, Amit Daniel Linaro PMWG
Amit,
We're way ahead of you :)
127|root@android:/ # busybox which busybox /system/bin/busybox
To see what's in a Linaro Android build, look in a Manifest file http://android.git.linaro.org/gitweb?p=platform/manifest.git%3Ba=summary
One thing that has been bugging me is that we don't create the links normally associated with busybox, because for some users that may be intrusive.
But I'd like to have a script that created the links if I wanted to. I usually do "alias b=busybox" which is a small comfort.
/Tony
On 2 February 2012 05:44, Amit Kachhap amit.kachhap@linaro.org wrote:
hi,
I am trying to create a script for thermal testing and ultimately integrate it with lava. As of now I have used shell/bash script and as many important commands(grep, awk) are not supported by android so I compiled and added busybox and this work nice but I am not sure if this setup is/will be used in the android build or release and may be I should use some other script like python. The advantage of shell script is that it will be same for Uubuntu and android LEB's I am not sure who to contact so any suggestion will be appreciated.
Thanks, Amit Daniel Linaro PMWG
linaro-android mailing list linaro-android@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-android
Thanks Tony, so now I can go ahead with my work.
Regards, Amit D
On 2 February 2012 13:50, Tony Mansson tony.mansson@linaro.org wrote:
Amit,
We're way ahead of you :)
127|root@android:/ # busybox which busybox /system/bin/busybox
To see what's in a Linaro Android build, look in a Manifest file http://android.git.linaro.org/gitweb?p=platform/manifest.git%3Ba=summary
One thing that has been bugging me is that we don't create the links normally associated with busybox, because for some users that may be intrusive.
But I'd like to have a script that created the links if I wanted to. I usually do "alias b=busybox" which is a small comfort.
/Tony
On 2 February 2012 05:44, Amit Kachhap amit.kachhap@linaro.org wrote:
hi,
I am trying to create a script for thermal testing and ultimately integrate it with lava. As of now I have used shell/bash script and as many important commands(grep, awk) are not supported by android so I compiled and added busybox and this work nice but I am not sure if this setup is/will be used in the android build or release and may be I should use some other script like python. The advantage of shell script is that it will be same for Uubuntu and android LEB's I am not sure who to contact so any suggestion will be appreciated.
Thanks, Amit Daniel Linaro PMWG
linaro-android mailing list linaro-android@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-android
linaro-android@lists.linaro.org