From 4f2aa6569cc313a2544814ab72b57b0f1a5a3439 Mon Sep 17 00:00:00 2001 From: Yoann Congal Date: Thu, 8 Feb 2024 12:13:48 +0100 Subject: radvd: Fix build in reproducible test In reproducible test, useradd config comes from static files: meta-networking/files/static-{passwd,group}-meta-networking Those files were not coherent : * an unused "rasvd" was defined (a typo for "radvd") * passwd referenced a unexisting group id. This patch aligns static files to the USERADD_PARAM recipe value. This will fix the errors seen during reproducibility tests: stdio: ERROR: radvd-2.19-r0 do_prepare_recipe_sysroot: radvd: useradd command did not succeed. stdio: ERROR: radvd-2.19-r0 do_prepare_recipe_sysroot: ExecutionError('/home/pokybuild/yocto-worker/reproducible-meta-oe/build/build/build-st-meta-networking/build-st/reproducibleA/tmp/work/core2-64-poky-linux/radvd/2.19/temp/run.useradd_sysroot.1178426', 1, None, None) stdio: ERROR: Logfile of failure stored in: /home/pokybuild/yocto-worker/reproducible-meta-oe/build/build/build-st-meta-networking/build-st/reproducibleA/tmp/work/core2-64-poky-linux/radvd/2.19/temp/log.do_prepare_recipe_sysroot.1178426 stdio: ERROR: Task (/home/pokybuild/yocto-worker/reproducible-meta-oe/build/meta-openembedded/meta-networking/recipes-daemons/radvd/radvd_2.19.bb:do_prepare_recipe_sysroot) failed with exit code '1' Signed-off-by: Yoann Congal Signed-off-by: Khem Raj --- meta-networking/files/static-passwd-meta-networking | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta-networking/files/static-passwd-meta-networking') diff --git a/meta-networking/files/static-passwd-meta-networking b/meta-networking/files/static-passwd-meta-networking index 77c2b36f94..03dc2133c4 100644 --- a/meta-networking/files/static-passwd-meta-networking +++ b/meta-networking/files/static-passwd-meta-networking @@ -3,7 +3,7 @@ dovecot:x:631:631::/:/bin/nologin dovenull:x:632:632::/:/bin/nologin postfix:x:633:633::/:/bin/nologin vmail:x:635:635::/:/bin/nologin -radvd:x:636:636::/:/bin/nologin +radvd:x:636:nogroup::${localstatedir}/run/radvd/:/bin/nologin frr:x:637:637::/:/bin/nologin ftp:x:640:640::/:/bin/nologin rwhod:x:641:641::/:/bin/nologin -- cgit v1.2.3-54-g00ecf