Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 78B16E00B87; Wed, 11 Oct 2017 03:18:51 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,HTML_MESSAGE, RCVD_IN_DNSWL_NONE, SPF_HELO_PASS, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no * trust * [46.235.227.227 listed in list.dnswl.org] * -0.0 SPF_HELO_PASS SPF: HELO matches SPF record * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 0.0 HTML_MESSAGE BODY: HTML included in message * 0.0 UNPARSEABLE_RELAY Informational: message has unparseable relay lines Received: from bhuna.collabora.co.uk (bhuna.collabora.co.uk [46.235.227.227]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 252D1E008A4 for ; Wed, 11 Oct 2017 03:18:49 -0700 (PDT) Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: aragua) with ESMTPSA id CE4C926DA35 Message-ID: <1507717126.9509.29.camel@collabora.co.uk> From: Fabien Lahoudere To: Henrik Lindblom Date: Wed, 11 Oct 2017 12:18:46 +0200 In-Reply-To: References: <1507671003.9509.21.camel@collabora.co.uk> <1507704333.9509.23.camel@collabora.co.uk> <1507713002.9509.25.camel@collabora.co.uk> <1507713360.9509.27.camel@collabora.co.uk> X-Mailer: Evolution 3.22.6-1 Mime-Version: 1.0 Cc: yocto@yoctoproject.org Subject: Re: How to use same user in two recipes? X-BeenThere: yocto@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Discussion of all things Yocto Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Oct 2017 10:18:51 -0000 Content-Type: multipart/alternative; boundary="=-w4llkK37qJSAGQ8QBIcf" --=-w4llkK37qJSAGQ8QBIcf Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit 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 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@yoctoproject.org > > > > https://lists.yoctoproject.org/listinfo/yocto > > > > --  Fabien --=-w4llkK37qJSAGQ8QBIcf Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable
On Wed, 2017-10-11 at 13:06 +0300, Henrik Lin= dblom wrote:
I think you'll want RDEPENDS instead of DEPENDS in yo= ur recipe. DEPENDS implies build time dependencies (e.g. libraries) while R= DEPENDS actually gets the component installed as a runtime dependency.


Thanks Henrik

I tried to add RDEPENDS too witho= ut success. The problem is that users and groups are not installed IIUC.

On Wed, Oct 11, 2017 at 12:16 PM, Fabien Lahoudere <= span dir=3D"ltr"><fabien.lahoudere@collabora.co.uk> wrote:
<= blockquote type=3D"cite">
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:/v= ar/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:/va= r/backups:/bin/sh
list:*:38:38:Mailing List Manager:/var/lis= t:/bin/sh
irc:*:39:39:ircd:/var/run/ircd:/bin/sh
g= nats:*: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@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto<= br>

-- 
Fabi= en
--=-w4llkK37qJSAGQ8QBIcf--