]> code.ossystems Code Review - openembedded-core.git/commit
useradd: Handle users from a package being used in others
authorThomas Fitzsimmons <fitzsim@cisco.com>
Thu, 5 Sep 2013 22:41:20 +0000 (23:41 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 6 Sep 2013 22:01:50 +0000 (23:01 +0100)
commit5871337da49f8cd1eaf53f7cd0aacc026dc7bcdb
tree6ed66cf5c5378b5c94f7c65924d670c815d8cf70
parent609d5a9ab9e58bb1c2bcc2145399fbc8b701b85a
useradd: Handle users from a package being used in others

If there is a package A (TUNE_PKGARCH) which is depended upon by B which
is MACHINE_ARCH and you build B for machine X, then Y, the user isn't
present in the sysroot for machine Y since the useradd code is never
triggered.

The change ensures the code does get triggered and the user is present.

[YOCTO 4739]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/useradd.bbclass