]> code.ossystems Code Review - openembedded-core.git/commit
populate_sdk_base: Ensure PKGDATA_DIR exists
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 23 Oct 2015 03:30:36 +0000 (20:30 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 24 Oct 2015 11:23:42 +0000 (12:23 +0100)
commit319c5d55bb0c7e429766f46dd42a15e16a43c4dd
treef21d45704b2039af550783a4b672482ad0b15dc8
parentc616e05691ec143066df8f416cc0b6b464fabd02
populate_sdk_base: Ensure PKGDATA_DIR exists

The code assumes that PKG_DATADIR exists and will fail if an image has not been
generated which creates it. This occurs when something like buildtools-tarball
is built which doesn't have target packages, only nativesdk ones.

Since this shouldn't be fatal, workaround this by creating the missing
directory.

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