<?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>10559</bug_id>
          
          <creation_ts>2016-10-31 17:39:14 +0000</creation_ts>
          <short_desc>recipetool: generate install function for debian packages</short_desc>
          <delta_ts>2022-06-30 15:09:07 +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>OE-Core</product>
          <component>Scripts and Tools</component>
          <version>2.2</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Low</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>Future</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Stephano Cetola">stephano</reporter>
          <assigned_to name="Unassigned">unassigned</assigned_to>
          <cc>bluelightning</cc>
    
    <cc>randy.macleod</cc>
    
    <cc>ross.burton</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>67788</commentid>
    <comment_count>0</comment_count>
    <who name="Stephano Cetola">stephano</who>
    <bug_when>2016-10-31 17:39:14 +0000</bug_when>
    <thetext>This continues work on recipetool, adding debian package (binary) installation to the generated recipe. data.tar.xz should be renamed and placed in the recipe folder, added to SRC_URI, and the do_install function can then be generated.

devtool add, devtool build, and devtool finish should all be functional.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>67809</commentid>
    <comment_count>1</comment_count>
    <who name="Stephano Cetola">stephano</who>
    <bug_when>2016-10-31 22:43:08 +0000</bug_when>
    <thetext>My mistake: script_utils.fetch_uri already extracts the source. Also, the $S variable is already pointing to this &quot;binary source&quot; directory. Perhaps the simplest thing to do is edit the do_install to install %S/* to $D/*?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>93623</commentid>
    <comment_count>2</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2022-06-30 15:09:07 +0000</bug_when>
    <thetext>The bin_package class is what is needed here.  If SRC_URI is set correctly and bin_package is inherited, the deb is unpacked and installed.

However, I don&apos;t think that this behaviour should be encouraged.  Repackaging binary packages should be a last resort and not something we make very easy.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>