]> code.ossystems Code Review - openembedded-core.git/commit
sstate: Ensure deploy tasks don't pull in toolchains
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 19 Sep 2021 15:21:34 +0000 (16:21 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 23 Sep 2021 12:52:03 +0000 (13:52 +0100)
commit8047c184f8266fc047c0e5a5524586d414528626
tree2bac2dc2be9bde9d05f8645fc4b9fdf9a482a5fb
parent1fdbe550323b98ca67ed7130f5a0d7d626bd2c64
sstate: Ensure deploy tasks don't pull in toolchains

If an image is built from sstate, the cross toolchain was being pulled in.
This was due to the sstate dependencies for deploy tasks not being considered
in the "depvalid" logic.

do_deploy tasks do not need their populate_sysroot dependencies when installed
from sstate so skip these. This reduces the sstate pulled in by an image
build from sstate significantly.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/sstate.bbclass