From: Adrian Freihofer <[email protected]> pseudo inverted its path-matching logic some time ago: when set, PSEUDO_INCLUDE_PATHS acts as an ownership-tracking allowlist, and anything outside it silently falls through to real chown()/chmod() instead of being recorded by pseudo. This script never set it, so an inherited restrictive value could leave the extracted rootfs with wrong ownership. Since this script only ever touches SDK_ROOTFS_DIR, setting PSEUDO_INCLUDE_PATHS to it is enough.
Signed-off-by: Adrian Freihofer <[email protected]> --- scripts/runqemu-extract-sdk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/runqemu-extract-sdk b/scripts/runqemu-extract-sdk index 528ef76430..db9813e1dc 100755 --- a/scripts/runqemu-extract-sdk +++ b/scripts/runqemu-extract-sdk @@ -85,6 +85,8 @@ mkdir -p "$pseudo_state_dir" touch "$pseudo_state_dir/pseudo.pid" PSEUDO_LOCALSTATEDIR="$pseudo_state_dir" export PSEUDO_LOCALSTATEDIR +PSEUDO_INCLUDE_PATHS="$SDK_ROOTFS_DIR" +export PSEUDO_INCLUDE_PATHS echo "Extracting rootfs tarball using pseudo..." echo "$PSEUDO $PSEUDO_OPTS tar -C \"$SDK_ROOTFS_DIR\" $TAR_OPTS \"$ROOTFS_TARBALL\"" -- 2.55.0
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#244716): https://lists.openembedded.org/g/openembedded-core/message/244716 Mute This Topic: https://lists.openembedded.org/mt/121005251/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
