]> code.ossystems Code Review - openembedded-core.git/commitdiff
package_ipk: Add support for NO_RECOMMENDATIONS
authorMark Hatle <mark.hatle@windriver.com>
Tue, 13 Aug 2013 20:02:01 +0000 (15:02 -0500)
committerSaul Wold <sgw@linux.intel.com>
Thu, 22 Aug 2013 16:15:33 +0000 (09:15 -0700)
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>
meta/classes/package_ipk.bbclass

index 33058797e3708e4c0ea727ae8e3a17c5218fd08b..69a6d953621c217e0d6306651555c90d5855717b 100644 (file)
@@ -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"