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

2013-10-22 Thread Davide Soldan
b58 \ > > file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" > > SRC_URI = "file://passwd" > > USERADD_PARAM_${PN} = "-u 1200 -d /home/root -r -s /bin/false root" > > And How do I force this recipe to be picked while bitbake

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

2013-10-22 Thread Davide Soldan
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 of way but none of it worked out well >

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

2013-10-22 Thread Davide Soldan
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 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.

Re: [yocto] preserving file owners in do_package

2013-10-18 Thread Davide Soldan
In data venerdì 18 ottobre 2013 14:38:27, Paul Eggleton ha scritto: > Hi Davide, > > On Friday 18 October 2013 15:31:22 Davide Soldan wrote: > > In data martedì 15 ottobre 2013 17:18:35, Paul Eggleton ha scritto: > > > On Tuesday 15 October 2013 18:12:42 Davide Solda

Re: [yocto] preserving file owners in do_package

2013-10-18 Thread Davide Soldan
In data martedì 15 ottobre 2013 17:18:35, Paul Eggleton ha scritto: > On Tuesday 15 October 2013 18:12:42 Davide Soldan wrote: > > In data martedì 15 ottobre 2013 11:38:21, Paul Eggleton ha scritto: > > > On Tuesday 15 October 2013 12:02:20 Davide Soldan wrote: > > &g

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

2013-10-16 Thread Davide Soldan
In data mercoledì 16 ottobre 2013 00:01:13, Amit Tomer ha scritto: > 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/pass

Re: [yocto] preserving file owners in do_package

2013-10-15 Thread Davide Soldan
In data martedì 15 ottobre 2013 11:38:21, Paul Eggleton ha scritto: > Hi Davide, > > On Tuesday 15 October 2013 12:02:20 Davide Soldan wrote: > > in my recipe I want to change owner and permission of a file, so I wrote: > > > > do_install() { > > ls -la $

Re: [yocto] preserving file owners in do_package

2013-10-15 Thread Davide Soldan
In data martedì 15 ottobre 2013 11:38:21, Paul Eggleton ha scritto: > Hi Davide, > > On Tuesday 15 October 2013 12:02:20 Davide Soldan wrote: > > in my recipe I want to change owner and permission of a file, so I wrote: > > > > do_install() { > > ls -la $

[yocto] preserving file owners in do_package

2013-10-15 Thread Davide Soldan
Hi to all, in my recipe I want to change owner and permission of a file, so I wrote: do_install() { ls -la ${D}/opt/user chown -R user ${D}/opt/user chgrp -R user ${D}/opt/user ls -la ${D}/opt/user chmod 754 ${D}/opt/user/user.sh ls -la ${D}/opt/user

Re: [yocto] extend image.bbclass (or any bbclass file)

2013-07-12 Thread Davide Soldan
Really simple!!! Excuse me for the dumb question and thanks a lot! Cheers Davide In data venerdì 12 luglio 2013 13:22:32, Erik Botö ha scritto: Hi, On Fri, Jul 12, 2013 at 1:11 PM, Davide Soldan wrote: Hi to all,I'm trying to move, from outside to inside my recipes, all the changes

[yocto] extend image.bbclass (or any bbclass file)

2013-07-12 Thread Davide Soldan
Hi to all, I'm trying to move, from outside to inside my recipes, all the changes I've done for my custom image. For example I changed the image.bbclass adding a function. But this file is outside of my recipes that are stored under my git repository. So I'd like to move this function from image

Re: [yocto] Exporting variables and extending PATH for Embedded Java

2013-04-17 Thread Davide Soldan
Environment variable should be defined in /etc/profile In my build that file is managed by "base-files" recipe. So I wrote a custom recipe "base-files_3.0.14.bbappend" with only a row FILESEXTRAPATHS_prepend := "${THISDIR}/files:" in the "files" directory I put the "profile" file with the definiti

Re: [yocto] core-image-sato + firefox for pandaboard

2013-04-10 Thread Davide Soldan
In data mercoledì 10 aprile 2013 12:39:03, Achim Kanert ha scritto: > Davide Soldan writes: > > > > > In data giovedì 21 febbraio 2013 08:19:42, Gary Thomas ha scritto: > > > On 2013-02-21 07:52, Davide Soldan wrote: > > > > Hi to all! > > >

Re: [yocto] core-image-sato + firefox for pandaboard

2013-02-22 Thread Davide Soldan
In data giovedì 21 febbraio 2013 08:19:42, Gary Thomas ha scritto: > On 2013-02-21 07:52, Davide Soldan wrote: > > Hi to all! > > I'm new in building images with yocto for my pandaboard. Trying to build > > core-image-sato (http://maniacbug.wordpress.com/2012/08/03/p

[yocto] core-image-sato + firefox for pandaboard

2013-02-21 Thread Davide Soldan
Hi to all! I'm new in building images with yocto for my pandaboard. Trying to build core-image-sato (http://maniacbug.wordpress.com/2012/08/03/pandayocto/) all works fine, but now I want to add some packages to this image. So proceeding like mentioned here https://lists.yoctoproject.org/pipermai