From: Zhang Xiao <xiao.zhang@windriver.com>
To: openembedded-core@lists.openembedded.org
Subject: [OE-core] [PATCH v2] oe-selftest: Add static postgres user/group for reproducible build test
Date: Tue, 21 Apr 2026 07:06:46 +0000 [thread overview]
Message-ID: <20260421070646.1290375-1-xiao.zhang@windriver.com> (raw)
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>
---
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
--
2.53.0
next reply other threads:[~2026-04-21 7:07 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-04-21 7:06 Zhang Xiao [this message]
2026-04-21 7:52 ` [OE-core] [PATCH v2] oe-selftest: Add static postgres user/group for reproducible build test Yoann Congal
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=20260421070646.1290375-1-xiao.zhang@windriver.com \
--to=xiao.zhang@windriver.com \
--cc=openembedded-core@lists.openembedded.org \
/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