package_manager: fix install_glob to use morty sdk pkgdir

(From OE-Core rev: c8ffc0a4456065479240de18e6080e90a7ee85c1)

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Armin Kuster 2018-04-04 10:10:09 -07:00 committed by Richard Purdie
parent 05696923f6
commit 2861ecf224

View File

@ -569,7 +569,7 @@ class PackageManager(object, metaclass=ABCMeta):
# TODO don't have sdk here but have a property on the superclass
# (and respect in install_complementary)
if sdk:
pkgdatadir = self.d.expand("${TMPDIR}/pkgdata/${SDK_SYS}")
pkgdatadir = self.d.expand("${STAGING_DIR}/${SDK_ARCH}-${SDKPKGSUFFIX}${SDK_VENDOR}-${SDK_OS}/pkgdata")
else:
pkgdatadir = self.d.getVar("PKGDATA_DIR", True)