Bug 7160

Summary: SDKIMAGE_FEATURES not used by deb packaging system
Product: [Build System, Metadata & Runtime] Meta-yocto Reporter: Pau Espin Pedrol <pespin.shar>
Component: meta-yoctoAssignee: Richard Purdie <richard.purdie>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: poky.bs.watcher, poky.watcher, sgw
Version: 1.6   
Target Milestone: 1.8   
Hardware: x86   
OS: Multiple   
Whiteboard: needs backport to 1.7 and 1.6
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)
Attachments:
Description Flags
sdk.py: Add SDKIMAGE_INSTALL_COMPLEMENTARY capabilities to DpkgSdk none

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