Skip to contentSkip to conversation

image.bbclass: Add missing dependency on do_package data

PATCH New Richard Purdie 1 participant 1 message Nov 16, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 image.bbclass: Add missing dependency on do_package data

Since the packaging functions now reference the pkgdata files written out during do_package, we need to reference this dependency explicitly.

---

meta/classes/image.bbclass +1 -0
index ab212b3..7b24e4e 100644
@@ -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}