[OE-core] [PATCH] package_manager.py: Explicit complementary fail

Alexander Kanavin alexander.kanavin at linux.intel.com
Wed Feb 28 16:58:32 UTC 2018


On 02/28/2018 06:20 PM, Niko Mauno wrote:
> When running bitbake -c populate_sdk <image_name>, it is expected that
> packages matching SDKIMAGE_INSTALL_COMPLEMENTARY name mask (unless
> declared in PACKAGE_EXCLUDE_COMPLEMENTARY) are installed to resulting
> SDK. Underlying mechanism issues a package manager install call for set
> of complementary packages. However the mechanism doesn't seem to inform
> the user all too obviously in case the package manager command behind
> install_complementary() method fails -- and since it is combined with
> attempt_only=True option, user might end up wondering why several *-dev,
> *-dbg packages are missing from resulting SDK.
> 
> Improve associated install() method behaviour in affected OpkgPM and
> DpkgPM classes so that a problematic state of affairs becomes directly
> obvious for bitbake user, resulting in shell output like:

Does rpm need the same fix?

Alex



More information about the Openembedded-core mailing list