]> 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>
Sun, 5 Nov 2017 22:39:18 +0000 (22:39 +0000)
commite8112536055e75dff43369395a6cf6ba44ba8db7
treef1c36ca9d101b21ed44c47d8e9dc3ba06a35bd95
parent93dd2f9f3edf0584f9e806c629611d645dd72dbf
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.

(From OE-Core rev: 02457ef7f600ce954874e2d11e74b1c6daaa3bfc)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
meta/classes/useradd.bbclass