diff mbox series

[meta-filesystems,1/7] Add static-passwd and static-group files

Message ID 20231010093940.75037-1-fabien.thomas@smile.fr
State Under Review
Headers show
Series [meta-filesystems,1/7] Add static-passwd and static-group files | expand

Commit Message

Fabien Thomas Oct. 10, 2023, 9:39 a.m. UTC
In order to pass reproducible tests, recipes that use the
useradd class must have static ids configured.

Signed-off-by: Fabien Thomas <fabien.thomas@smile.fr>
Reviewed-by: Yoann Congal <yoann.congal@smile.fr>
---
 meta-filesystems/files/static-passwd-meta-filesystems | 3 +++
 1 file changed, 3 insertions(+)
 create mode 100644 meta-filesystems/files/static-passwd-meta-filesystems

Comments

Vyacheslav Yurkov Oct. 12, 2023, 12:01 p.m. UTC | #1
Thanks for the patch.

Is there any way to ensure (have a QA?) this file is updated / not 
forgotten when somebody else adds new id in the recipe?

Slava

On 10.10.2023 11:39, Fabien Thomas wrote:
> In order to pass reproducible tests, recipes that use the
> useradd class must have static ids configured.
>
> Signed-off-by: Fabien Thomas <fabien.thomas@smile.fr>
> Reviewed-by: Yoann Congal <yoann.congal@smile.fr>
> ---
>   meta-filesystems/files/static-passwd-meta-filesystems | 3 +++
>   1 file changed, 3 insertions(+)
>   create mode 100644 meta-filesystems/files/static-passwd-meta-filesystems
>
> diff --git a/meta-filesystems/files/static-passwd-meta-filesystems b/meta-filesystems/files/static-passwd-meta-filesystems
> new file mode 100644
> index 000000000..157697f3e
> --- /dev/null
> +++ b/meta-filesystems/files/static-passwd-meta-filesystems
> @@ -0,0 +1,3 @@
> +fsgqa:x:700:nogroup::/:/bin/nologin
> +123456-fsgqa:x:701:nogroup::/:/bin/nologin
> +fsgqa2:x:702:nogroup::/:/bin/nologin
> \ No newline at end of file
Fabien Thomas Oct. 13, 2023, 2:10 p.m. UTC | #2
On Thu, Oct 12, 2023 at 02:01 PM, Vyacheslav Yurkov wrote:

> 
> Slava

Hello,

This work is intended to be carried out by yocto autobuilder several
time a day, in reproducible-meta-oe selftest. If someone add a
new user or group in a recipe and forget to update theses static-ids
files : the repro build will failed. This ensure an early detection.

Regards,
Fabien
diff mbox series

Patch

diff --git a/meta-filesystems/files/static-passwd-meta-filesystems b/meta-filesystems/files/static-passwd-meta-filesystems
new file mode 100644
index 000000000..157697f3e
--- /dev/null
+++ b/meta-filesystems/files/static-passwd-meta-filesystems
@@ -0,0 +1,3 @@ 
+fsgqa:x:700:nogroup::/:/bin/nologin
+123456-fsgqa:x:701:nogroup::/:/bin/nologin
+fsgqa2:x:702:nogroup::/:/bin/nologin
\ No newline at end of file