Patchwork image.bbclass: Add missing dependency on do_package data

login
register
mail settings
Submitter Richard Purdie
Date Nov. 16, 2012, 3:33 p.m.
Message ID <1353080001.3709.94.camel@ted>
Download mbox | patch
Permalink /patch/39153/
State Accepted
Commit 265f69a593cdf70e40bcbe6383b865dac3632f55
Headers show

Comments

Richard Purdie - Nov. 16, 2012, 3:33 p.m.
Since the packaging functions now reference the pkgdata files written out during
do_package, we need to reference this dependency explicitly.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---

Patch

diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass
index ab212b3..7b24e4e 100644
--- a/meta/classes/image.bbclass
+++ b/meta/classes/image.bbclass
@@ -84,6 +84,7 @@  LDCONFIGDEPEND_libc-uclibc = ""
 
 do_rootfs[depends] += "makedevs-native:do_populate_sysroot virtual/fakeroot-native:do_populate_sysroot ${LDCONFIGDEPEND}"
 do_rootfs[depends] += "virtual/update-alternatives-native:do_populate_sysroot update-rc.d-native:do_populate_sysroot"
+do_rootfs[recrdeptask] += "do_package"
 
 IMAGE_TYPE_live = '${@base_contains("IMAGE_FSTYPES", "live", "live", "empty", d)}'
 inherit image-${IMAGE_TYPE_live}