Re: [yocto] How to Set up Perf tool

2013-11-01 Thread Amit Tomer
Thanks Brauce We worked it out and Perf recipe as you said perf.bb is there in poky/meta/recipe-kernel. Also,we installed it our rootfs and it working good. Thanks Amit On Sat, Nov 2, 2013 at 12:22 AM, Bruce Ashfield wrote: > On 13-11-01 12:40 PM, Amit Tomer wrote: >> >> We hav

[yocto] How to Set up Perf tool

2013-11-01 Thread Amit Tomer
We have a requirement here to set up the perf tool through our Yocto frame work. As Perf source comes with linux kernel under tools/perf ,so it should be compiled with kernel recipe itself. But after bitbake of our kernel recipe,we couldn't find any binary related to perf. we made sure that below

[yocto] OPerf support in Yocto

2013-10-31 Thread Amit Tomer
We are using OProfle as a profiling tool adn but have to requirment to move Operf tool As of now our build infrastructure is generating Oprofile binaries but there is no Operf Bianry is generated after build. We found some pathces realted to PPC architecture which enable OPerf for PPC But as we ar

Re: [yocto] Fwd: How to recreate or modify already existing usres in /etc/passwd in Yocto

2013-10-28 Thread Amit Tomer
Jukaa I trying adding these lines in to my .conf file But getting below error while bitbake Unable to parse extrausers: ParseError in configuration INHERITs: Could not inherit file classes/extrausers.bbclass Thanks On Mon, Oct 28, 2013 at 4:11 PM, Amit Tomer wrote: > Fine Jukka ,I got y

Re: [yocto] Fwd: How to recreate or modify already existing usres in /etc/passwd in Yocto

2013-10-28 Thread Amit Tomer
On 28.10.2013 12:07, Amit Tomer wrote: >> >> Thanks Jukka for the response >> >> EXTRA_USERS_PARAMS="usermod -s /bin/false foobar;" where did you >> define user(Is foobar is usre here??). > > > Yes, foobar is the username in this example. See manual page

Re: [yocto] Fwd: How to recreate or modify already existing usres in /etc/passwd in Yocto

2013-10-28 Thread Amit Tomer
Thanks Jukka for the response EXTRA_USERS_PARAMS="usermod -s /bin/false foobar;" where did you define user(Is foobar is usre here??). Thanks, Amit. On Mon, Oct 28, 2013 at 2:18 PM, Jukka Rissanen wrote: > On 26.10.2013 20:15, Amit Tomer wrote: >> >> Running out of i

Re: [yocto] yocto Digest, Vol 37, Issue 81

2013-10-22 Thread Amit Tomer
Have you added your recipe file to CORE_IMAGE_EXTRA_INSTALL of your local.conf? Thanks, Amit On Tue, Oct 22, 2013 at 11:53 PM, wrote: > Send yocto mailing list submissions to > yocto@yoctoproject.org > > To subscribe or unsubscribe via the World Wide Web, visit > https://lists.y

Re: [yocto] How Do I add users in /etc/passwd in Yocto

2013-10-22 Thread Amit Tomer
d How do I force this recipe to be picked while bitbake my image?? Thanks Amit On Tue, Oct 22, 2013 at 2:22 PM, Davide Soldan wrote: > In data martedì 22 ottobre 2013 14:18:55, Amit Tomer ha scritto: >> Thanks Davide >> Can you please point to right link. >> > I found the

Re: [yocto] How Do I add users in /etc/passwd in Yocto

2013-10-22 Thread Amit Tomer
Thanks Davide Can you please point to right link. On Tue, Oct 22, 2013 at 2:12 PM, Davide Soldan wrote: > In data martedì 22 ottobre 2013 14:00:22, Amit Tomer ha scritto: >> For some requirement I wante to add some new users in /etc/passwd . >> >> I tried doing it in couple

[yocto] How Do I add users in /etc/passwd in Yocto

2013-10-22 Thread Amit Tomer
For some requirement I wante to add some new users in /etc/passwd . I tried doing it in couple of way but none of it worked out well I tried to patcth the /etc/passwd file but getting few errors while bitbaking my image. Paul Eggleton suggests me that patching /etc/passwd file won't work Then

Re: [yocto] How /etc/passwd packed into my final image

2013-10-16 Thread Amit Tomer
Hmm..Paul could you guide us for other way Method of modifying in base-passwd Why our changes are not reflected there? On Wed, Oct 16, 2013 at 5:17 PM, Paul Eggleton wrote: > Hi Amit, > > On Wednesday 16 October 2013 17:01:11 Amit Tomer wrote: >> I trying adding INHERIT += &qu

Re: [yocto] How /etc/passwd packed into my final image

2013-10-16 Thread Amit Tomer
Hi Paul I trying adding INHERIT += "extrausers" to my local.conf file but getting ERROR: Unable to parse extrausers: ParseError in configuration INHERITs: Could not inherit file classes/extrausers.bbclass On Wed, Oct 16, 2013 at 4:43 PM, Amit Tomer wrote: > Hi Davide > > W

Re: [yocto] How /etc/passwd packed into my final image

2013-10-16 Thread Amit Tomer
wrong. Thanks Amit On Wed, Oct 16, 2013 at 4:27 PM, Amit Tomer wrote: > Thanks Paul for your suggestion > Method of modifying in base-passws is somehow not working for us > Let us try your suggestion. > > On Wed, Oct 16, 2013 at 4:03 PM, Paul Eggleton > wrote: >> On Wedn

Re: [yocto] How /etc/passwd packed into my final image

2013-10-16 Thread Amit Tomer
Thanks Paul for your suggestion Method of modifying in base-passws is somehow not working for us Let us try your suggestion. On Wed, Oct 16, 2013 at 4:03 PM, Paul Eggleton wrote: > On Wednesday 16 October 2013 10:20:24 Davide Soldan wrote: >> In data mercoledì 16 ottobre 2013 00:01

[yocto] How /etc/passwd packed into my final image

2013-10-16 Thread Amit Tomer
I wanted to modify the content of /etc/passwd but don't know how /etc/passwd files is packed into final image After the build process ,passwd file goes to "tmp/work/k2-poky-linux-gnueabi/image-k2/1.0-r0/rootfs/etc/passwd" this loaction Now I see image-k2.bb file but could not find any rule that

Re: [yocto] Is there anything like FILES_${PN}_append??

2013-10-09 Thread Amit Tomer
Thanks Chris for your response So you mean to say I can apply it to FILES_${PN} IS something like FILES_${PN}_append_xyz fine?? On Wed, Oct 9, 2013 at 9:54 PM, Chris Larson wrote: > > On Wed, Oct 9, 2013 at 1:24 AM, Amit Tomer wrote: >> >> Now for variable SRC_URI ,I can

[yocto] Is there anything like FILES_${PN}_append??

2013-10-09 Thread Amit Tomer
I have made some changes in .bb file related to openssh but this openssh package is shared among variuos platforms and I want these changes to be reflected only to specific platform. Now for variable SRC_URI ,I can do something like SRC_URI_append_xyz where xyz is my platform where changes should

[yocto] WARNING: While compiling Strongswan Package

2013-10-07 Thread Amit Tomer
We have added some new patches for strongswan package but after we are seeing some waring message WARNING: strongswan: The compile log indicates that host include and/or library paths were used. We also tried to add "*EXTRA_OECONF = "--prefix=/any-old-thing"" to .bb file of strongswan* * * *But w

Re: [yocto] Fwd: OpenSSH pre login banner

2013-10-03 Thread Amit Tomer
Because it should be > sshd_config. > > ** ** > > -Bryan**** > > ** ** > > *From:* Amit Tomer [mailto:amittome...@gmail.com] > *Sent:* Thursday, October 03, 2013 2:36 PM > > *To:* Bryan Evenson > *Cc:* yocto@yoctoproject.org > *Subject:* Re: [yoc

Re: [yocto] Fwd: OpenSSH pre login banner

2013-10-03 Thread Amit Tomer
_config. If you’re using RPM or DEB packages, I > believe something similar can be done.**** > > ** ** > > -Bryan > > ** ** > > *From:* Amit Tomer [mailto:amittome...@gmail.com] > *Sent:* Thursday, October 03, 2013 10:41 AM > *To:* Bryan Evenson

Re: [yocto] Fwd: OpenSSH pre login banner

2013-10-03 Thread Amit Tomer
ding the > documentation over at http://www.yoctoproject.org/documentation/current/.* > *** > > ** ** > > -Bryan > > ** ** > > *From:* Amit Tomer [mailto:amittome...@gmail.com] > *Sent:* Thursday, October 03, 2013 10:03 AM > > *To:* Bryan Evenson > *Cc:

Re: [yocto] Fwd: OpenSSH pre login banner

2013-10-03 Thread Amit Tomer
Bitbake can’t find the license > file at all or if it fails on each attempt through the filepath. Since > your new path is first, it won’t find LICENCE in your layer since you > didn’t copy it. Once way to quiet this warning would be to copy the > license file to your directory. > > *

Re: [yocto] Fwd: OpenSSH pre login banner

2013-10-03 Thread Amit Tomer
kage management tools will see > it as an upgrade. For example, if you change the contents of the banner > file, then change the “+ 1” to “+ 2”. > > ** ** > > -Bryan > > ** ** > > *From:* yocto-boun...@yoctoproject

[yocto] Fwd: OpenSSH pre login banner

2013-10-03 Thread Amit Tomer
-- Forwarded message -- From: Amit Tomer Date: Thu, Oct 3, 2013 at 1:50 PM Subject: OpenSSH pre login banner To: "yocto-requ...@yoctoproject.org" I am new to OpenEmbedded Yocto and have a requirement where OpenSSH pre login banner should come when do ssh from target

[yocto] Provide sftp-client support in yocto

2013-10-01 Thread Amit Tomer
I am new to OpenEmbedded Yocto project and have a requirement to provide sftp-client support on my target board. Sftp-server bins are already packed into final image and is installed at tmp/work/fkm-poky-linux-gnueabi/openssh/6.1p1-r3/package/usr/lib/openssh/sftp-server Now ,same way Do I have t

Re: [yocto] How env.sh sets up the build environment path

2013-09-25 Thread Amit Tomer
The way I sorted out is copying the old bblayer file from build-xyz-abd/conf/bblayer" to "build-abd/conf/bblayer" On Wed, Sep 25, 2013 at 4:12 PM, Burton, Ross wrote: > On 25 September 2013 11:36, Amit Tomer wrote: > > Now when I do ./env.sh build-xyz-abd > > You

[yocto] How env.sh sets up the build environment path

2013-09-25 Thread Amit Tomer
I am new to Open Embedded and have a requirement where have to set new build path while running env.sh script Now when I do ./env.sh build-xyz-abd I do get the Directory with name "build-xyz-abd" which will having local.conf at path build-xyz-abd/conf/local.conf Now, how do I change build-xyz-a

Re: [yocto] How to pack non striped valgrind image into squashfs image

2013-09-23 Thread Amit Tomer
rm-linux.so vgpreload_memcheck-arm-linux.so: ELF 32-bit LSB shared object, ARM, version 1 (SYSV), stripped Now how our valgrind recipe stripping these images since I am new to yocto finding it difficult to solve it. On Mon, Sep 23, 2013 at 6:32 PM, Paul Barker wrote: > On 23 September 2013

[yocto] How to pack non striped valgrind image into squashfs image

2013-09-23 Thread Amit Tomer
I am new to OpenEmbedded and facing an issue where our valgrind is not working, Valgrind bin comes as non striped image after compilation but while packing it to squashfs image ,it become striped one and fails to run on target. So how do we pack it as non striped one ?? One more thing I noticed i