]> code.ossystems Code Review - openembedded-core.git/commit
sdk.py: preserve packaging data when SDKIMAGE_FEATURES has "package-management"
authorDenys Dmytriyenko <denys@ti.com>
Thu, 21 Apr 2016 18:44:22 +0000 (14:44 -0400)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 29 Apr 2016 06:34:10 +0000 (07:34 +0100)
commit9ab934e4aecb759c922049245888dcd2a8c55477
treef3094dd08b8656c1542aaa79245bce4470298cbc
parent5084ed9401250ed269a49d27b303806ab173c5d5
sdk.py: preserve packaging data when SDKIMAGE_FEATURES has "package-management"

This is not enabled by default, as there are still limitations and possible
issues with opkg (and rpm?) packaging data containing broken symlinks for
local indexes:

http://cgit.openembedded.org/openembedded-core/commit/?id=c8e0ec2da9ad4ce1c103966906a85f68c15400dd

There are other use cases for the packaging data to be available in SDK,
since it provides comprehensive info about SDK's contents and in the case of
opkg and dpkg is all text-based and can be easily parsed by simple scripts.

Introduce new "package-management" flag for SDKIMAGE_FEATURES list (similar
to the one already used for IMAGE_FEATURES) that controls presence of the
packaging data in resulting SDK, while unifying this behavior across the
board for supported pkg managers - rpm, opkg, dpkg.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/lib/oe/sdk.py