path: root/meta/lib
diff options
authorAndres Beltran <>2021-10-05 00:34:15 (GMT)
committerRichard Purdie <>2021-10-14 10:22:18 (GMT)
commitf3518bcdab10ea3bd193bbb1b8a57ad9f751db63 (patch)
tree51077bcafc2b84b469a4c8c906883fa4621e2111 /meta/lib
parent433201369e3d8336335d052eea32fe64e811f6e6 (diff)
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. (From OE-Core rev: 82e6172c1df378dff4e503aa878501c08937b5bb) Signed-off-by: Andres Beltran <> Signed-off-by: Alexandre Belloni <> Signed-off-by: Richard Purdie <>
Diffstat (limited to 'meta/lib')
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/oe/package_manager/ b/meta/lib/oe/package_manager/
index 8f7b60e..80bc1a6 100644
--- a/meta/lib/oe/package_manager/
+++ b/meta/lib/oe/package_manager/
@@ -321,7 +321,7 @@ class PackageManager(object, metaclass=ABCMeta):
321 # TODO don't have sdk here but have a property on the superclass 321 # TODO don't have sdk here but have a property on the superclass
322 # (and respect in install_complementary) 322 # (and respect in install_complementary)
323 if sdk: 323 if sdk:
324 pkgdatadir = self.d.expand("${TMPDIR}/pkgdata/${SDK_SYS}") 324 pkgdatadir = self.d.getVar("PKGDATA_DIR_SDK")
325 else: 325 else:
326 pkgdatadir = self.d.getVar("PKGDATA_DIR") 326 pkgdatadir = self.d.getVar("PKGDATA_DIR")
327 327