]> code.ossystems Code Review - openembedded-core.git/commit
useradd: remove preinst script referring to recipe sysroot
authorMaxin B. John <maxin.john@intel.com>
Tue, 9 May 2017 16:19:20 +0000 (19:19 +0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 10 May 2017 11:21:31 +0000 (12:21 +0100)
commitdfc9323c1cd7814989766be5bd1861fbaa739d2d
tree1798fe8afdc0e3da398ca01f382c4a84b5672e25
parent097875bc9ab9d60a452b01ac6825775983684d68
useradd: remove preinst script referring to recipe sysroot

Remove recipe-specific-sysroot details from the preinst scripts
generated by useradd.bbclass.

This was added to match the default from bitbake.conf. Unlike the default
case, the dependencies used by useradd mean that a default passwd/group
file is always present. This means we don't need the native sysroot fallback.

Fixes [YOCTO #11460]

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/useradd.bbclass