diff mbox series

oe-selftest: Add static postgres user/group for reproducible build test

Message ID 20260420012039.4024325-1-xiao.zhang@windriver.com
State Under Review
Headers show
Series oe-selftest: Add static postgres user/group for reproducible build test | expand

Commit Message

Zhang Xiao April 20, 2026, 1:20 a.m. UTC
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 mbox series

Patch

diff --git a/meta-selftest/files/static-group b/meta-selftest/files/static-group
index 4cc37ddea2..3be8daa016 100644
--- a/meta-selftest/files/static-group
+++ b/meta-selftest/files/static-group
@@ -29,4 +29,5 @@  xuser:x:530:
 seat:x:531:
 audio:x:532:
 empower:x:533:
+postgres:x:534:
 nogroup:x:65534:
diff --git a/meta-selftest/files/static-passwd b/meta-selftest/files/static-passwd
index cc6c5acd5c..0771890cbf 100644
--- a/meta-selftest/files/static-passwd
+++ b/meta-selftest/files/static-passwd
@@ -19,3 +19,4 @@  _apt:x:523:523::/:/bin/nologin
 weston:x:525:525::/:/bin/nologin
 ptest:x:529:529::/:/bin/nologin
 xuser:x:530:530::/:/bin/nologin
+postgres:x:534:534::/:/bin/nologin