diff options
author | Mark Hatle <mark.hatle@windriver.com> | 2013-08-13 15:02:01 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-08-22 18:30:01 +0100 |
commit | e58d0fdb66e5fb0472710af677efdd247ec55af1 (patch) | |
tree | 3499e69f874d24ffb4325dbe3c25476cc1727de5 /meta/classes/package_ipk.bbclass | |
parent | c52820b403aa967c2bde33743405a4cb56a8c142 (diff) | |
download | poky-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.bbclass | 1 |
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" | |||
11 | OPKGBUILDCMD ??= "opkg-build" | 11 | OPKGBUILDCMD ??= "opkg-build" |
12 | 12 | ||
13 | OPKG_ARGS = "-f $INSTALL_CONF_IPK -o $INSTALL_ROOTFS_IPK --force_postinstall --prefer-arch-to-version" | 13 | OPKG_ARGS = "-f $INSTALL_CONF_IPK -o $INSTALL_ROOTFS_IPK --force_postinstall --prefer-arch-to-version" |
14 | OPKG_ARGS += "${@['', '--no-install-recommends'][d.getVar("NO_RECOMMENDATIONS", True) == "1"]}" | ||
14 | 15 | ||
15 | OPKGLIBDIR = "${localstatedir}/lib" | 16 | OPKGLIBDIR = "${localstatedir}/lib" |
16 | 17 | ||