From patchwork Wed May 17 13:25:47 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 99972 Delivered-To: patch@linaro.org Received: by 10.140.96.100 with SMTP id j91csp230933qge; Wed, 17 May 2017 06:26:00 -0700 (PDT) X-Received: by 10.99.119.76 with SMTP id s73mr3803918pgc.215.1495027560696; Wed, 17 May 2017 06:26:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1495027560; cv=none; d=google.com; s=arc-20160816; b=Br9ZVDPoH/KcVhYDDmyP7qCKbZ8EVnDQdi2/u6ERUT5Sbk7qr5IgG/MTrMAeF+asRi 0+dxtEzWwKff33JWw90qoKkKm3ByBd3BS0IQZW5qUwFu94y/qb3A0xkol/TATAaICR+m 3qlAFZl70BzTt5AluNw0K2wNXc+ycjeHFfnvl8Zb+qQJ8QGnKMTihq421VUGr9oVHgbn IVJcCQiQCp/MbCRorS6KY/pW+VqBO6UFifWyY0po1jIddtukIAqZAqJTLeV7aa3HzeUl dNLTAlwETpLlUlP7ZZgS+ZX/igoz4D8DhlodP3EB7o+zTyyPG8gQGCGkPqzW4joaf2LI +XRg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:message-id:date:to:from:dkim-signature :delivered-to:arc-authentication-results; bh=Ymnxip0d0FRAP9efnXyK4N8UZBfcka79Sd//38bKbcw=; b=V8zqI5xG9Czpc/0fACuETgcaEZtnEx5q4Wg7pjLS3wN+NsK86cxon16++LWmFLJOEB WgPhxg0zLQgPndNphD3ZLKyUXhy7cM8Q9maBsIBUhlDJp54miJc08HHVkECgDPSqhYkQ jLFbYQ6E9VotAhSW0BtDizcPOlvIJm5zD9+f8QGEg7nEc51Fh4EjfowJDAJuDcdbKiWH r0T2M619vcN9CeXNLj9FthCvYBJuNIUToInwCZMQKOFmSCuLRn0F1Sgnj4SKf2CxXE64 4+OqEc8649s5bQxuwIUKQjWtWHFtd62tT6CcbPdUejUJggSLcIdc1GscICfD5k5EQvrV xQEw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@intel-com.20150623.gappssmtp.com; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id k124si2120668pgc.159.2017.05.17.06.26.00; Wed, 17 May 2017 06:26:00 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@intel-com.20150623.gappssmtp.com; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org Received: from review.yoctoproject.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id EBF1077D67; Wed, 17 May 2017 13:25:54 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-wm0-f54.google.com (mail-wm0-f54.google.com [74.125.82.54]) by mail.openembedded.org (Postfix) with ESMTP id E74C671A92 for ; Wed, 17 May 2017 13:25:52 +0000 (UTC) Received: by mail-wm0-f54.google.com with SMTP id 70so10499725wmq.1 for ; Wed, 17 May 2017 06:25:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel-com.20150623.gappssmtp.com; s=20150623; h=from:to:subject:date:message-id; bh=cYU6SPWmKWasVuaMPvDulkyLs22xJIj2fb7zdRG3M6U=; b=coxH+tUk9nhuFBW/gTsez4VzFI5ADzfRGBmspFN1mgOLC3hgdd0q2AQtPjEMc9L5/v c23EGNAcZZd4QqymvIVAWFo1cvOMOlOo9v29Cmjp7uIENW3Z1l3cMaM5qwvXsX+yyNFQ /WijzE3ANSQa5v361+hrJtvSsd3vPSTgNTBXi5Wo7zoMtCu82V4VDtxtfymyQ2nOaCQx Po5KcWNKmBjTSndewMjaNAsf7tyCDpIFB1I3Oz+u699op6N0OjrzNvtB1dFQh3labhXo qi+10umPb4nk7FCLHUEaTH3+WqAw9R/s6RULUr7Ryh+stY2l9wVC9CLdgAtoI3awan2e 5lug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id; bh=cYU6SPWmKWasVuaMPvDulkyLs22xJIj2fb7zdRG3M6U=; b=S9OsQNQKqhOOunXAZcBuzJKBpfbfy4cFFCU6dziZ5+z7Evw5qmhAH4b4hk2GFEszIb rPhVzGFGreLdBHJEj4iJyIyWLRq60ap+KMcXL455ZzaFB5U7AVFuQyN/lPBCYX9K998k VOX3DrEVsSOdtDb8YZF0LwrHiJDpn2fjY626NypLyzxOratMHuoslCenc7aZRwNYKVSb VLkUw3c8jRHhAtJi0od5HuBN6IPFQbfxfrylahsK5KBOH9BoPlpSdMzz95duN8xLJFav sTDRTvcJ99iEKKUsa5keRb4vdqdnSpRewQJJpd0hrn78By5z0PqSHl3eBbufONUe93DY GlvA== X-Gm-Message-State: AODbwcBm+J6HSDV8S2snXZ7QLZwFJgSyAhhr5rucwplzghGpPPQ4KUMx lB372JFt0X4DBu3RUiQ= X-Received: by 10.28.216.129 with SMTP id p123mr11797193wmg.55.1495027550712; Wed, 17 May 2017 06:25:50 -0700 (PDT) Received: from flashheart.burtonini.com (home.burtonini.com. [81.2.106.35]) by smtp.gmail.com with ESMTPSA id h123sm17801874wmd.34.2017.05.17.06.25.49 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 17 May 2017 06:25:49 -0700 (PDT) From: Ross Burton To: openembedded-core@lists.openembedded.org Date: Wed, 17 May 2017 14:25:47 +0100 Message-Id: <1495027547-19537-1-git-send-email-ross.burton@intel.com> X-Mailer: git-send-email 2.8.1 Subject: [OE-core] [PATCH] opkg-utils: don't generate PN-dev and PN-staticdev X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org opkg-utils ends up in any opkg/rpm image with package management as it's the provider for update-alternatives. If dev-pkgs is enabled then opkg-utils-dev will get installed, which is empty but will subsequently pull python3-dev into the image (as opkg-utils-python depends on python3). As this can result in all of Python appearing in otherwise small images, don't generate these pointless packages. Signed-off-by: Ross Burton --- meta/recipes-devtools/opkg-utils/opkg-utils_git.bb | 4 ++++ 1 file changed, 4 insertions(+) -- 2.8.1 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-devtools/opkg-utils/opkg-utils_git.bb b/meta/recipes-devtools/opkg-utils/opkg-utils_git.bb index 2460a26..06710b5 100644 --- a/meta/recipes-devtools/opkg-utils/opkg-utils_git.bb +++ b/meta/recipes-devtools/opkg-utils/opkg-utils_git.bb @@ -39,6 +39,10 @@ do_install_append_class-target() { fi } +# These are empty and will pull python3-dev into images where it wouldn't +# have been otherwise, so don't generate them. +PACKAGES_remove = "${PN}-dev ${PN}-staticdev" + PACKAGES =+ "update-alternatives-opkg" FILES_update-alternatives-opkg = "${bindir}/update-alternatives" RPROVIDES_update-alternatives-opkg = "update-alternatives update-alternatives-cworth"