diff options
author | Mark Hatle <mark.hatle@windriver.com> | 2014-02-06 17:37:23 -0600 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-02-09 09:40:01 +0000 |
commit | 72288dd499d236071a5216c9a9e3b6bd66c3888a (patch) | |
tree | f70d1d9ac0ebb1d4d8f91e03d83afbbbbd752dc4 /meta/classes/prserv.bbclass | |
parent | ac656fb21beb7de9e11f5268f67be3434a3aec74 (diff) | |
download | poky-72288dd499d236071a5216c9a9e3b6bd66c3888a.tar.gz |
useradd.bbclass: Fix build time install issues
When the system attempts to populate the sysroot's passwd/group files, it
does so in a single block. However, with the way it was previously
implemented, the system would always run through the code necessary to
populate the sysroot, even in the case of target packages. This had
the side effect that a cross-installed filesystem may not match a
target installed filesystem.
The code was slightly reorganized to ensure that the cross/target installed
pre-install script behavior is the same. It also moves the block that
configures the sysroot parameters to the sysroot specific section of
the code.
Also some minor validation was occuring even on nativesdk packages.
Nativesdk packages should be skipped when processing useradd ops.
(From OE-Core rev: 99fd0f14fd774c9194f62795e6023880e3aa5612)
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/prserv.bbclass')
0 files changed, 0 insertions, 0 deletions