Otherwise the class doesn't work if ${bindir} is set to a different value;
likewise for /var vs ${localstatedir}.
Signed-off-by: Phil Blundell <philb@gnu.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
}
useradd_sysroot () {
- export PSEUDO="${STAGING_DIR_NATIVE}/usr/bin/pseudo"
- export PSEUDO_LOCALSTATEDIR="${STAGING_DIR_TARGET}/var/pseudo"
+ export PSEUDO="${STAGING_DIR_NATIVE}${bindir}/pseudo"
+ export PSEUDO_LOCALSTATEDIR="${STAGING_DIR_TARGET}${localstatedir}/pseudo"
# Explicitly set $D since it isn't set to anything
# before do_install