<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>7160</bug_id>
          
          <creation_ts>2015-01-16 12:19:56 +0000</creation_ts>
          <short_desc>SDKIMAGE_FEATURES not used by deb packaging system</short_desc>
          <delta_ts>2015-01-23 14:27:16 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>Meta-yocto</product>
          <component>meta-yocto</component>
          <version>1.6</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>needs backport to 1.7 and 1.6</status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.8</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Pau Espin Pedrol">pespin.shar</reporter>
          <assigned_to name="Richard Purdie">richard.purdie</assigned_to>
          <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>sgw</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>47979</commentid>
    <comment_count>0</comment_count>
      <attachid>2321</attachid>
    <who name="Pau Espin Pedrol">pespin.shar</who>
    <bug_when>2015-01-16 12:19:56 +0000</bug_when>
    <thetext>Created attachment 2321
sdk.py: Add SDKIMAGE_INSTALL_COMPLEMENTARY capabilities to DpkgSdk

I&apos;m building my own image and I&apos;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 = &quot;dev-pkgs dbg-pkgs&quot;) are not installed if I&apos;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&apos;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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>48227</commentid>
    <comment_count>1</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2015-01-23 14:27:16 +0000</bug_when>
    <thetext>Thanks for the patch, we merged this: http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=6f196670e827ffd086aa769d482e6527f38eee06</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>2321</attachid>
            <date>2015-01-16 12:19:56 +0000</date>
            <delta_ts>2015-01-16 12:19:56 +0000</delta_ts>
            <desc>sdk.py: Add SDKIMAGE_INSTALL_COMPLEMENTARY capabilities to DpkgSdk</desc>
            <filename>0001-sdk.py-Add-SDKIMAGE_INSTALL_COMPLEMENTARY-capabiliti.patch</filename>
            <type>text/plain</type>
            <size>923</size>
            <attacher name="Pau Espin Pedrol">pespin.shar</attacher>
            
              <data encoding="base64">RnJvbSA5NzU1MTgwNWIzNTM1NThhMTMwYjA0NzhlNjkyNmMzMmQ3YmUzZjY0IE1vbiBTZXAgMTcg
MDA6MDA6MDAgMjAwMQpGcm9tOiBQYXUgRXNwaW4gUGVkcm9sIDxwYXUuZXNwaW5AYXdldXJvcGUu
YmU+CkRhdGU6IEZyaSwgMTYgSmFuIDIwMTUgMTI6NTc6MjUgKzAxMDAKU3ViamVjdDogW1BBVENI
XSBzZGsucHk6IEFkZCBTREtJTUFHRV9JTlNUQUxMX0NPTVBMRU1FTlRBU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