image.bbclass: Add missing dependency on do_package data
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 16 Nov 2012 15:33:21 +0000 (15:33 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 20 Nov 2012 15:31:49 +0000 (15:31 +0000)
Since the packaging functions now reference the pkgdata files written out during
do_package, we need to reference this dependency explicitly.

(From OE-Core rev: 1e9c9d164f8d12c8de205e04bf7c1dae3660f12a)

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

index ab212b3..7b24e4e 100644 (file)
@@ -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}