]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
pseudo: Add hard sstate dependencies for pseudo-native
authorPaul Barker <paul@pbarker.dev>
Mon, 3 Nov 2025 20:11:20 +0000 (20:11 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 25 Nov 2025 13:48:08 +0000 (13:48 +0000)
commit2c146ca657440550e00bc5e53d13502ef7aa945b
treec26fbdbba1a1edf612edeaba5635c0841aaa0a6d
parente3dc2a0331b567170af5ddd809c007b7a9de80b1
pseudo: Add hard sstate dependencies for pseudo-native

Where a task (such as do_package) runs under fakeroot, the corresponding
setscene task (do_package_setscene) will also run under fakeroot when
restoring from sstate. Assuming pseudo is used as the fakeroot
implementation, we need pseudo-native and all its runtime dependencies
to be available in the sysroot before running any setscene tasks under
fakeroot.

We already add a hard dependency from all do_package_setscene tasks to
virtual/fakeroot-native:do_populate_sysroot in base.bbclass, but this
does not cover transitive dependencies. So, extend the dependencies of
pseudo-native:do_populate_sysroot_setscene to ensure that the sqlite3
library is also available in the sysroot before running fakeroot
setscene tasks.

[YOCTO #15963]

Signed-off-by: Paul Barker <paul@pbarker.dev>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/pseudo/pseudo.inc