mirror of
https://git.yoctoproject.org/poky
synced 2026-05-08 05:09:24 +00:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
c91c70b5ab
commit
dcd53ad6f9
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user