summaryrefslogtreecommitdiff
path: root/classes/rootfs_ipk.bbclass
diff options
context:
space:
mode:
authorPaul Sokolovsky <pmiscml@gmail.com>2007-06-10 22:32:49 +0000
committerPaul Sokolovsky <pmiscml@gmail.com>2007-06-10 22:32:49 +0000
commit03e9eca55c12eec52c8b9888d103a8d2dd2b1c86 (patch)
tree03b8030f55dc15b2d954a25fbb47937fa6849f3b /classes/rootfs_ipk.bbclass
parented1afb2937b654a3e037dc202d1dcb0c3668aea3 (diff)
rootfs_ipk.bbclass: Add new option, PACKAGE_INSTALL_NO_DEPS. If set to 1,
list of packages in PACKAGE_INSTALL installed as is, without any dependencies. * Useful for initrds, etc. * Closes #2469.
Diffstat (limited to 'classes/rootfs_ipk.bbclass')
-rw-r--r--classes/rootfs_ipk.bbclass3
1 files changed, 2 insertions, 1 deletions
diff --git a/classes/rootfs_ipk.bbclass b/classes/rootfs_ipk.bbclass
index 26eca34da9..210563aed1 100644
--- a/classes/rootfs_ipk.bbclass
+++ b/classes/rootfs_ipk.bbclass
@@ -7,10 +7,11 @@
do_rootfs[depends] += "ipkg-native:do_populate_staging ipkg-utils-native:do_populate_staging"
-IPKG_ARGS = "-f ${T}/ipkg.conf -o ${IMAGE_ROOTFS}"
+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"
+PACKAGE_INSTALL_NO_DEPS ?= "0"
rootfs_ipk_do_indexes () {
set -x