]> code.ossystems Code Review - openembedded-core.git/commit
buildhistory: Fix package output files for SDKs
authorAndres Beltran <abeltran@linux.microsoft.com>
Tue, 5 Oct 2021 00:34:15 +0000 (00:34 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 14 Oct 2021 10:20:28 +0000 (11:20 +0100)
commit82e6172c1df378dff4e503aa878501c08937b5bb
treedb676f2aff6b9cb7d944083edf34d53ad71905b8
parentb5b70cba70067466da5e94f69632a2a029203838
buildhistory: Fix package output files for SDKs

Currently, installed packages are listed for images in image-info.txt, but
not for SDKs in sdk-info.txt. Add TOOLCHAIN_HOST_TASK and
TOOLCHAIN_TARGET_TASK to the output variables in sdk-info.txt.

Moreover, package output files for the SDK host are empty because
PKGDATA_DIR defaults to the target directory. Fix this bug and create a new
variable called PKGDATA_DIR_SDK which stores the correct path for the SDK
host package data.

Signed-off-by: Andres Beltran <abeltran@linux.microsoft.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
meta/classes/buildhistory.bbclass
meta/classes/cross-canadian.bbclass
meta/classes/nativesdk.bbclass
meta/conf/bitbake.conf
meta/lib/oe/package_manager/__init__.py