[oe-commits] Mark Hatle : package_ipk: Add support for NO_RECOMMENDATIONS

git at git.openembedded.org git at git.openembedded.org
Thu Aug 22 17:19:41 UTC 2013


Module: openembedded-core.git
Branch: master
Commit: e36c9947c82be034133a27db6e0f7a769daeb185
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=e36c9947c82be034133a27db6e0f7a769daeb185

Author: Mark Hatle <mark.hatle at windriver.com>
Date:   Tue Aug 13 15:02:01 2013 -0500

package_ipk: Add support for NO_RECOMMENDATIONS

Uses the opkg --no-install-recommends option.

Signed-off-by: Mark Hatle <mark.hatle at windriver.com>
Signed-off-by: Saul Wold <sgw at linux.intel.com>

---

 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 3305879..69a6d95 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"
 



More information about the Openembedded-commits mailing list