Re: [OE-core] [PATCH 1/3] useradd: Fix issues with useradd dependencies

2023-12-08 Thread Jermain Horsman
> If recipe A requires the useradd actions of recipe B we need to > ensure that recipe B is part of the recipe A dependancy chain. In > order to do that, we introduce USERADD_DEPENDS. This makes sure > that the do_populate_sysroot_setscene of recipe B exists for > recipe A in case of a missing TMPD

Re: [OE-core] [PATCH 1/3] useradd: Fix issues with useradd dependencies

2023-12-07 Thread Richard Purdie
On Thu, 2023-12-07 at 13:58 +0100, Alexander Kanavin wrote: > On Thu, 7 Dec 2023 at 13:45, Eilís 'pidge' Ní Fhlannagáin > wrote: > > -USERADDSETSCENEDEPS:class-target = > > "${MLPREFIX}base-passwd:do_populate_sysroot_setscene > > pseudo-native:do_populate_sysroot_setscene > > shadow-native:do_p

Re: [OE-core] [PATCH 1/3] useradd: Fix issues with useradd dependencies

2023-12-07 Thread Alexander Kanavin
On Thu, 7 Dec 2023 at 13:45, Eilís 'pidge' Ní Fhlannagáin wrote: > -USERADDSETSCENEDEPS:class-target = > "${MLPREFIX}base-passwd:do_populate_sysroot_setscene > pseudo-native:do_populate_sysroot_setscene > shadow-native:do_populate_sysroot_setscene > ${MLPREFIX}shadow-sysroot:do_populate_sysroo

[OE-core] [PATCH 1/3] useradd: Fix issues with useradd dependencies

2023-12-07 Thread Eilís 'pidge' Ní Fhlannagáin
If recipe A requires the useradd actions of recipe B we need to ensure that recipe B is part of the recipe A dependancy chain. In order to do that, we introduce USERADD_DEPENDS. This makes sure that the do_populate_sysroot_setscene of recipe B exists for recipe A in case of a missing TMPDIR. This r