rootfs_ipk.bbclass: Do not hardcode ipkg RDEPENDency.
authorPaul Sokolovsky <pmiscml@gmail.com>
Sun, 24 Jun 2007 11:04:21 +0000 (11:04 +0000)
committerPaul Sokolovsky <pmiscml@gmail.com>
Sun, 24 Jun 2007 11:04:21 +0000 (11:04 +0000)
* Instead, ad dit to DISTRO_EXTRA_RDEPENDS, so full-fledged
images bsed on task-base will get it automagically, while adhoc
images (initrds, etc.) can leave it out.
* This corresponds with how dpkg is handled, and how it is done
in poky.
* Closes #2484.

classes/rootfs_ipk.bbclass

index 210563a..75c85e8 100644 (file)
@@ -9,8 +9,7 @@ do_rootfs[depends] += "ipkg-native:do_populate_staging ipkg-utils-native:do_popu
 
 IPKG_ARGS = "-f ${T}/ipkg.conf -o ${IMAGE_ROOTFS} ${@base_conditional("PACKAGE_INSTALL_NO_DEPS", "1", "-nodeps", "", d)}"
 
-RDEPENDS += "ipkg ipkg-collateral"
-PACKAGE_INSTALL += "ipkg ipkg-collateral"
+DISTRO_EXTRA_RDEPENDS += " ipkg ipkg-collateral "
 PACKAGE_INSTALL_NO_DEPS ?= "0"
 
 rootfs_ipk_do_indexes () {