summaryrefslogtreecommitdiff
path: root/meta/classes
diff options
context:
space:
mode:
authorMark Hatle <mark.hatle@windriver.com>2013-08-13 15:02:01 -0500
committerSaul Wold <sgw@linux.intel.com>2013-08-22 09:15:33 -0700
commite36c9947c82be034133a27db6e0f7a769daeb185 (patch)
tree98762e67b5898bb2df64fb2c32776c3f508704f7 /meta/classes
parent86a30a88cf89ed97c372c391169f4ae243c89fd2 (diff)
downloadopenembedded-core-e36c9947c82be034133a27db6e0f7a769daeb185.tar.gz
openembedded-core-e36c9947c82be034133a27db6e0f7a769daeb185.tar.bz2
openembedded-core-e36c9947c82be034133a27db6e0f7a769daeb185.zip
package_ipk: Add support for NO_RECOMMENDATIONS
Uses the opkg --no-install-recommends option. Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/package_ipk.bbclass1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/classes/package_ipk.bbclass b/meta/classes/package_ipk.bbclass
index 33058797e3..69a6d95362 100644
--- a/meta/classes/package_ipk.bbclass
+++ b/meta/classes/package_ipk.bbclass
@@ -11,6 +11,7 @@ PKGWRITEDIRIPK = "${WORKDIR}/deploy-ipks"
OPKGBUILDCMD ??= "opkg-build"
OPKG_ARGS = "-f $INSTALL_CONF_IPK -o $INSTALL_ROOTFS_IPK --force_postinstall --prefer-arch-to-version"
+OPKG_ARGS += "${@['', '--no-install-recommends'][d.getVar("NO_RECOMMENDATIONS", True) == "1"]}"
OPKGLIBDIR = "${localstatedir}/lib"