diff options
author | Mark Hatle <mark.hatle@windriver.com> | 2012-06-22 19:38:30 -0500 |
---|---|---|
committer | Saul Wold <sgw@linux.intel.com> | 2012-07-03 00:05:40 -0700 |
commit | a0de2a56f19ae4d8cd88e46e96917a7a019fe1ab (patch) | |
tree | 6813c9753776e397c38dc68e04c15ecabd40727f /meta/classes/rootfs_deb.bbclass | |
parent | a1ca125de55a8e7cab402e2ba5737a56d4e890c2 (diff) | |
download | openembedded-core-a0de2a56f19ae4d8cd88e46e96917a7a019fe1ab.tar.gz openembedded-core-a0de2a56f19ae4d8cd88e46e96917a7a019fe1ab.tar.bz2 openembedded-core-a0de2a56f19ae4d8cd88e46e96917a7a019fe1ab.zip |
image.bbclass: Add support to build the SDK in parallel with the image
When building an image recipe, you can now build a companion SDK by
calling the populate_sdk task:
bitbake -c populate_sdk core-image-minimal
Note: there are still issues w/ the SDK not working completely with
multilibs.
A lock is required between rootfs and populate_sdk activities to prevent
configuration file clashes and similar package management problems in ipk
and deb based systems. (RPM already had a lock for a different reason.)
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Diffstat (limited to 'meta/classes/rootfs_deb.bbclass')
-rw-r--r-- | meta/classes/rootfs_deb.bbclass | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/classes/rootfs_deb.bbclass b/meta/classes/rootfs_deb.bbclass index 6c9767f98e..4ea71daedc 100644 --- a/meta/classes/rootfs_deb.bbclass +++ b/meta/classes/rootfs_deb.bbclass @@ -8,6 +8,8 @@ ROOTFS_PKGMANAGE_BOOTSTRAP = "run-postinsts" do_rootfs[depends] += "dpkg-native:do_populate_sysroot apt-native:do_populate_sysroot" do_rootfs[recrdeptask] += "do_package_write_deb" +do_rootfs[lockfiles] += "${WORKDIR}/deb.lock" + DEB_POSTPROCESS_COMMANDS = "rootfs_install_all_locales; " opkglibdir = "${localstatedir}/lib/opkg" |