Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id ABAD2C433F5 for ; Mon, 22 Nov 2021 09:19:25 +0000 (UTC) Subject: Re: Useradd recipe not generating /etc/passwd entries #dunfell To: yocto@lists.yoctoproject.org From: taylor.winning@fundamentals-group.com X-Originating-Location: Perth, Western Australia, AU (110.145.30.150) X-Originating-Platform: Windows Firefox 95 User-Agent: GROUPS.IO Web Poster MIME-Version: 1.0 Date: Mon, 22 Nov 2021 01:19:25 -0800 References: In-Reply-To: Message-ID: <28096.1637572765176121824@lists.yoctoproject.org> Content-Type: multipart/alternative; boundary="gCbbo7TSOyCy13zy0PBa" List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Mon, 22 Nov 2021 09:19:25 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/yocto/message/55381 --gCbbo7TSOyCy13zy0PBa Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Okay, I seem to have achieved this by adding: ALLOW_EMPTY_${PN}=3D"1" To the adh-user-add recipe that everything is depending on (including the i= mage recipe). I'm a bit confused as to why that was such a hassle to achieve something I = would have thought was a simple adding of a few users. Definitely would've = appreciated a warning that the build system was attempting to add an empty = package or something like that. I wouldn't think I'm on the fringe's of Yoc= to development here, but perhaps my use case is resulting in an 'empty pack= age' being created via my image recipe that most other use-cases aren't tri= ggering? I would be very glad to hear any input despite having this resolved. --gCbbo7TSOyCy13zy0PBa Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable

Okay, I seem to have achieved this by adding:

ALLOW_EMPTY_${PN}=3D"1"

To the adh-user-add recipe that everything is dep= ending on (including the image recipe).

I'm a bit confused as to why that was such a hass= le to achieve something I would have thought was a simple adding of a few u= sers. Definitely would've appreciated a warning that the build system was a= ttempting to add an empty package or something like that. I wouldn't think = I'm on the fringe's of Yocto development here, but perhaps my use case is r= esulting in an 'empty package' being created via my image recipe that most = other use-cases aren't triggering?

I would be very glad to hear any input despite ha= ving this resolved.

 
--gCbbo7TSOyCy13zy0PBa--