summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2017-05-16 16:27:00 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-05-18 14:01:46 +0100
commitdcd53ad6f983913878c3b25d46feafc3a6983db9 (patch)
tree6720b38dc08033c99556216a0a5c8048490b60eb
parentc91c70b5ab3b9e258e093eb75aad2a5151aa96d3 (diff)
downloadpoky-dcd53ad6f983913878c3b25d46feafc3a6983db9.tar.gz
opkg-utils: don't generate PN-dev and PN-staticdev
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. (From OE-Core rev: 5da7a0ba47d39612b08b4f71518b8384a3058b3f) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-devtools/opkg-utils/opkg-utils_git.bb4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/recipes-devtools/opkg-utils/opkg-utils_git.bb b/meta/recipes-devtools/opkg-utils/opkg-utils_git.bb
index 2460a26324..06710b596b 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() {
39 fi 39 fi
40} 40}
41 41
42# These are empty and will pull python3-dev into images where it wouldn't
43# have been otherwise, so don't generate them.
44PACKAGES_remove = "${PN}-dev ${PN}-staticdev"
45
42PACKAGES =+ "update-alternatives-opkg" 46PACKAGES =+ "update-alternatives-opkg"
43FILES_update-alternatives-opkg = "${bindir}/update-alternatives" 47FILES_update-alternatives-opkg = "${bindir}/update-alternatives"
44RPROVIDES_update-alternatives-opkg = "update-alternatives update-alternatives-cworth" 48RPROVIDES_update-alternatives-opkg = "update-alternatives update-alternatives-cworth"