* [OE-core] [PATCH v2] oe-selftest: Add static postgres user/group for reproducible build test
@ 2026-04-21 7:06 Zhang Xiao
2026-04-21 7:52 ` Yoann Congal
0 siblings, 1 reply; 2+ messages in thread
From: Zhang Xiao @ 2026-04-21 7:06 UTC (permalink / raw)
To: openembedded-core
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [OE-core] [PATCH v2] oe-selftest: Add static postgres user/group for reproducible build test
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
0 siblings, 0 replies; 2+ messages in thread
From: Yoann Congal @ 2026-04-21 7:52 UTC (permalink / raw)
To: xiao.zhang, openembedded-core
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-04-21 7:52 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox