mirror of
https://git.yoctoproject.org/poky
synced 2026-05-04 22:39:49 +02:00
useradd.bbclass: remove hardcoded reference to /usr/bin
Otherwise the class doesn't work if ${bindir} is set to a different value;
likewise for /var vs ${localstatedir}.
(From OE-Core rev: 21371df16917cd82642b39763793783d61ee5516)
Signed-off-by: Phil Blundell <philb@gnu.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
c04ae9bf71
commit
050e43a57f
@@ -74,8 +74,8 @@ fi
|
||||
}
|
||||
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user