summaryrefslogtreecommitdiffstats
path: root/meta/classes/package_ipk.bbclass
diff options
context:
space:
mode:
authorMark Hatle <mark.hatle@windriver.com>2013-08-13 15:02:01 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-08-22 18:30:01 +0100
commite58d0fdb66e5fb0472710af677efdd247ec55af1 (patch)
tree3499e69f874d24ffb4325dbe3c25476cc1727de5 /meta/classes/package_ipk.bbclass
parentc52820b403aa967c2bde33743405a4cb56a8c142 (diff)
downloadpoky-e58d0fdb66e5fb0472710af677efdd247ec55af1.tar.gz
package_ipk: Add support for NO_RECOMMENDATIONS
Uses the opkg --no-install-recommends option. (From OE-Core rev: e36c9947c82be034133a27db6e0f7a769daeb185) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/package_ipk.bbclass')
-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"
11OPKGBUILDCMD ??= "opkg-build" 11OPKGBUILDCMD ??= "opkg-build"
12 12
13OPKG_ARGS = "-f $INSTALL_CONF_IPK -o $INSTALL_ROOTFS_IPK --force_postinstall --prefer-arch-to-version" 13OPKG_ARGS = "-f $INSTALL_CONF_IPK -o $INSTALL_ROOTFS_IPK --force_postinstall --prefer-arch-to-version"
14OPKG_ARGS += "${@['', '--no-install-recommends'][d.getVar("NO_RECOMMENDATIONS", True) == "1"]}"
14 15
15OPKGLIBDIR = "${localstatedir}/lib" 16OPKGLIBDIR = "${localstatedir}/lib"
16 17