]> code.ossystems Code Review - openembedded-core.git/commit
useradd: don't override pseudo environment
authorRoss Burton <ross.burton@intel.com>
Thu, 14 Sep 2017 16:32:24 +0000 (17:32 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 18 Sep 2017 10:07:22 +0000 (11:07 +0100)
commit02457ef7f600ce954874e2d11e74b1c6daaa3bfc
treec36e9fee466b87f65932a18e7577d91182514caf
parentf2c809b1fe8679892220a06044d9b4bf2c8ae849
useradd: don't override pseudo environment

Back in the dark days before recipe-specific-sysroots the paths being passed in
this manual construction of the pseudo environment made sense, but now they're
incorrect and result in pseudo writing to two different databases during a
single build.  The result is that pseudo doesn't follow changes to /etc/passwd
in the sysroot, and warns in the logs.

Remove the PSEUDO_LOCALSTATEDIR assignment and inherit the correct assignment in
FAKEROOTENV.

Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/classes/useradd.bbclass