diff options
author | Mikko Ylinen <mikko.ylinen@linux.intel.com> | 2017-10-03 10:09:26 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-10-06 12:03:34 +0100 |
commit | b28374cfad37db161b5ac5953b4a4638912f3f27 (patch) | |
tree | 22746e12abf53212d8427d886a43ec712c473d29 /.templateconf | |
parent | 6ce87fdadab73e8a928864515495bc4ab3401577 (diff) | |
download | openembedded-core-b28374cfad37db161b5ac5953b4a4638912f3f27.tar.gz openembedded-core-b28374cfad37db161b5ac5953b4a4638912f3f27.tar.bz2 openembedded-core-b28374cfad37db161b5ac5953b4a4638912f3f27.zip |
staging.bbclass: handle postinst-useradd-* fixmes
After 02457ef7f600ce954874e2d11e74b1c6daaa3bfc, PSEUDO for
postinst-useradd-* scripts get to use only one PSEUDO_LOCALSTATEDIR
which is set under recipes ${WORKDIR}.
When the those scripts are run in a clean build environment that
is built from the sstate (populate_sysroot_setscene run for
postinst-useradd-* providers), pseudo fails to run because it cannot
access the PSEUDO_LOCALSTATEDIR (recipe ${WORKDIR}s do not exist).
This triggers a sysroot staging error.
Previously, the PSEUDO_LOCALSTATEDIR setting in useradd.bbclass
worked because the RSS sstate/staging logic automagically processed
${STAGING_DIR_TARGET} in postinst-useradd-* scripts to point under
the sysroot being built.
The fix uses the same fixme processing by adding PSEUDO_LOCALSTATEDIR
variable to it. Furthermore, LOGFIFO is added to be able to use
the logging fifo of the recipe that actually runs postinst-useradd-*.
Signed-off-by: Mikko Ylinen <mikko.ylinen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to '.templateconf')
0 files changed, 0 insertions, 0 deletions