[yocto] How to use same user in two recipes?

Fabien Lahoudere fabien.lahoudere at collabora.co.uk
Wed Oct 11 03:18:46 PDT 2017


On Wed, 2017-10-11 at 13:06 +0300, Henrik Lindblom wrote:
> I think you'll want RDEPENDS instead of DEPENDS in your recipe. DEPENDS implies build time
> dependencies (e.g. libraries) while RDEPENDS actually gets the component installed as a runtime
> dependency.
> 

Thanks Henrik
I tried to add RDEPENDS too without success. The problem is that users and groups are not installed
IIUC.
> On Wed, Oct 11, 2017 at 12:16 PM, Fabien Lahoudere <fabien.lahoudere at collabora.co.uk> wrote:
> > FI, with bitbake testuser -c devshell
> > 
> > # cat ../1.0-r1/recipe-sysroot/etc/passwd 
> > root::0:0:root:/root:/bin/sh
> > daemon:*:1:1:daemon:/usr/sbin:/bin/sh
> > bin:*:2:2:bin:/bin:/bin/sh
> > sys:*:3:3:sys:/dev:/bin/sh
> > sync:*:4:65534:sync:/bin:/bin/sync
> > games:*:5:60:games:/usr/games:/bin/sh
> > man:*:6:12:man:/var/cache/man:/bin/sh
> > lp:*:7:7:lp:/var/spool/lpd:/bin/sh
> > mail:*:8:8:mail:/var/mail:/bin/sh
> > news:*:9:9:news:/var/spool/news:/bin/sh
> > uucp:*:10:10:uucp:/var/spool/uucp:/bin/sh
> > proxy:*:13:13:proxy:/bin:/bin/sh
> > www-data:*:33:33:www-data:/var/www:/bin/sh
> > backup:*:34:34:backup:/var/backups:/bin/sh
> > list:*:38:38:Mailing List Manager:/var/list:/bin/sh
> > irc:*:39:39:ircd:/var/run/ircd:/bin/sh
> > gnats:*:41:41:Gnats Bug-Reporting System (admin):/var/lib/gnats:/bin/sh
> > nobody:*:65534:65534:nobody:/nonexistent:/bin/sh
> > 
> > Users are not found
> > --
> > 
> > _______________________________________________
> > 
> > yocto mailing list
> > 
> > yocto at yoctoproject.org
> > 
> > https://lists.yoctoproject.org/listinfo/yocto
> > 
> > 
-- 
Fabien
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20171011/c0f31550/attachment.html>


More information about the yocto mailing list