]> 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)
committerAnuj Mittal <anuj.mittal@intel.com>
Tue, 26 Oct 2021 00:49:05 +0000 (08:49 +0800)
commitaf7b5c664649d2c0d1b23eb1d553080b9d2a7864
tree07dda55611e377a15f4dd34a95015f81e1fdf809
parente9613ecfcec8b606b05407b6199806df7ac18e9b
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>
(cherry picked from commit 82e6172c1df378dff4e503aa878501c08937b5bb)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.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