]> 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)
committerJoshua Lock <joshua.g.lock@intel.com>
Fri, 6 May 2016 14:51:14 +0000 (15:51 +0100)
commitd9ea863ff844ee1b84d4699b0d3af7245f3703c5
tree1866eef42be8e1ef9177080e9078632eebc555f0
parentaf95fa33067542fe6f253d57b6dda575ceea5527
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.

(From OE-Core master rev: 319c5d55bb0c7e429766f46dd42a15e16a43c4dd)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
meta/classes/populate_sdk_base.bbclass