public inbox for openembedded-core@lists.openembedded.org
 help / color / mirror / Atom feed
From: "Yoann Congal" <yoann.congal@smile.fr>
To: <xiao.zhang@windriver.com>, <openembedded-core@lists.openembedded.org>
Subject: Re: [OE-core] [PATCH v2] oe-selftest: Add static postgres user/group for reproducible build test
Date: Tue, 21 Apr 2026 09:52:02 +0200	[thread overview]
Message-ID: <DHYO49JUR52Y.1OUCD7ZQJ693R@smile.fr> (raw)
In-Reply-To: <20260421070646.1290375-1-xiao.zhang@windriver.com>

On Tue Apr 21, 2026 at 9:06 AM CEST, ZhangXiao via lists.openembedded.org wrote:
> This adds the static postgres UID/GID entries to static-passwd and
> static-group, fixing the "Nothing PROVIDES 'postgresql'" error when
> running reproducible test.
>
> The selftest environment requires static system user IDs to ensure
> build reproducibility, which was missing for the postgres user/group
> before this change.
>
> Signed-off-by: Zhang Xiao <xiao.zhang@windriver.com>

Since this is a meta-oe recipe, shouldn't those static IDs be defined in
https://git.openembedded.org/meta-openembedded/tree/meta-oe/files/static-passwd-meta-oe
https://git.openembedded.org/meta-openembedded/tree/meta-oe/files/static-group-meta-oe
instead?

Regards,

> ---
>  meta-selftest/files/static-group  | 1 +
>  meta-selftest/files/static-passwd | 1 +
>  2 files changed, 2 insertions(+)
>
> diff --git a/meta-selftest/files/static-group b/meta-selftest/files/static-group
> index 6a9ece20a8..a08795c4ea 100644
> --- a/meta-selftest/files/static-group
> +++ b/meta-selftest/files/static-group
> @@ -31,4 +31,5 @@ audio:x:532:
>  empower:x:533:
>  cmake-example:x:534:
>  meson-example:x:535:
> +postgres:x:536
>  nogroup:x:65534:
> diff --git a/meta-selftest/files/static-passwd b/meta-selftest/files/static-passwd
> index 98017c8153..ba1dcd54d8 100644
> --- a/meta-selftest/files/static-passwd
> +++ b/meta-selftest/files/static-passwd
> @@ -21,3 +21,4 @@ ptest:x:529:529::/:/bin/nologin
>  xuser:x:530:530::/:/bin/nologin
>  cmake-example:x:534:534::/var/lib/cmake-example:/bin/false
>  meson-example:x:535:535::/var/lib/meson-example:/bin/false
> +postgres:x:536:536::/:/bin/nologin


-- 
Yoann Congal
Smile ECS



      reply	other threads:[~2026-04-21  7:52 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-04-21  7:06 [OE-core] [PATCH v2] oe-selftest: Add static postgres user/group for reproducible build test Zhang Xiao
2026-04-21  7:52 ` Yoann Congal [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=DHYO49JUR52Y.1OUCD7ZQJ693R@smile.fr \
    --to=yoann.congal@smile.fr \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=xiao.zhang@windriver.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox