Bug 7160 - SDKIMAGE_FEATURES not used by deb packaging system
Summary: SDKIMAGE_FEATURES not used by deb packaging system
Status: RESOLVED FIXED
Alias: None
Product: Meta-yocto
Classification: Build System, Metadata & Runtime
Component: meta-yocto (show other bugs)
Version: 1.6
Hardware: x86 Multiple
: Medium normal
Target Milestone: 1.8
Assignee: Richard Purdie
QA Contact:
URL:
Whiteboard: needs backport to 1.7 and 1.6
Depends on:
Blocks:
 
Reported: 2015-01-16 12:19 UTC by Pau Espin Pedrol
Modified: 2015-01-23 14:27 UTC (History)
3 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments
sdk.py: Add SDKIMAGE_INSTALL_COMPLEMENTARY capabilities to DpkgSdk (923 bytes, patch)
2015-01-16 12:19 UTC, Pau Espin Pedrol
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Pau Espin Pedrol 2015-01-16 12:19:56 UTC
Created attachment 2321 [details]
sdk.py: Add SDKIMAGE_INSTALL_COMPLEMENTARY capabilities to DpkgSdk

I'm building my own image and I'm using deb packaging system. Building for the image is working fine.

When I want to create the SDK by means of do_populate_sdk, complementary packages (SDKIMAGE_FEATURES = "dev-pkgs dbg-pkgs") are not installed if I'm using deb packaging system (it works with ipk for instance).

After digging into related files which do create the sdk, I found out that IpkSdk and RpmSdk call install install_complementary() function while DpkgSdk doesn't do that.

I tried adding that call in DpkgSdk and recreating the SDK and I can see in the logs that now it is trying to install *-dev *-dbg packages from packages in the image.


I attach the patch I used to fix it.
Comment 1 Richard Purdie 2015-01-23 14:27:16 UTC
Thanks for the patch, we merged this: http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=6f196670e827ffd086aa769d482e6527f38eee06