<?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>6511</bug_id>
          
          <creation_ts>2014-07-08 10:11:53 +0000</creation_ts>
          <short_desc>[Dev workflow] Document how to copy precompiled binaries to root image</short_desc>
          <delta_ts>2014-09-05 08:33:09 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>9</classification_id>
          <classification>Documentation</classification>
          <product>General Docs</product>
          <component>docs-general</component>
          <version>1.7</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>05 Sept 2014: RESOLVED</status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.7 M3</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Belen Barros Pena">belen.barros.pena</reporter>
          <assigned_to name="Scott Rifenbark">srifenbark</assigned_to>
          <cc>bluelightning</cc>
    
    <cc>richard.purdie</cc>
    
    <cc>srifenbark</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Done (doc changes complete)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>44374</commentid>
    <comment_count>0</comment_count>
    <who name="Belen Barros Pena">belen.barros.pena</who>
    <bug_when>2014-07-08 10:11:53 +0000</bug_when>
    <thetext>As part of development workflow documentation improvements. The source of it all is this thread in the YP mailing list:

https://lists.yoctoproject.org/pipermail/yocto/2014-July/020441.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>44416</commentid>
    <comment_count>1</comment_count>
    <who name="Scott Rifenbark">srifenbark</who>
    <bug_when>2014-07-10 13:39:41 +0000</bug_when>
    <thetext>So I have done some research on this to try and understand some stuff and have a couple questions:

 1. Aren&apos;t pre-compiled libraries (.so files) linked in at runtime? 
    So in describing this situation as &quot;copying pre-compiled binaries to 
    the root image&quot;, is that just saying the same thing?  Are we wanting 
    to describe how to link these pre-compiled files to the image at 
    run-time?

 2. From the thread, which was responded to by a couple people, it looks
    like the simplest solution is to simply use 

      FILES_SOLIBSDEV = &quot;&quot;
      FILES_${PN} += &quot;${libdir}/*.so&quot;

    to get the .so files linked to (copied to?) the main package. As noted
    in the mail thread, by default these pre-compiled .so files are by
    default put into ${PN}-dev.  I grepped the following statement out of 
    the bitbake.conf file:

      FILES_${PN}-dev = &quot;${includedir} ${FILES_SOLIBSDEV} ${libdir}/*.la \
                ${libdir}/*.o ${libdir}/pkgconfig ${datadir}/pkgconfig \
                ${datadir}/aclocal ${base_libdir}/*.o \
                ${libdir}/${BPN}/*.la ${base_libdir}/*.la&quot; 

So what I am wondering is this the best solution?  Or is there some 
preferred method we want to encourage?

Scott</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>44613</commentid>
    <comment_count>2</comment_count>
    <who name="Scott Rifenbark">srifenbark</who>
    <bug_when>2014-07-22 08:28:03 +0000</bug_when>
    <thetext>Changing the state to NEEDINFO because I need some answers on my last comment.

Scott</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>44698</commentid>
    <comment_count>3</comment_count>
    <who name="Belen Barros Pena">belen.barros.pena</who>
    <bug_when>2014-07-25 09:07:43 +0000</bug_when>
    <thetext>A very similar question / answer exchange in this thread 

https://lists.yoctoproject.org/pipermail/yocto/2014-July/020682.html

(just in case it helps somehow).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>44705</commentid>
    <comment_count>4</comment_count>
    <who name="Scott Rifenbark">srifenbark</who>
    <bug_when>2014-07-25 12:54:41 +0000</bug_when>
    <thetext>Hi, 

This does provide more information.  Thanks for the pointer Belen.

Scott</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>44790</commentid>
    <comment_count>5</comment_count>
    <who name="Scott Rifenbark">srifenbark</who>
    <bug_when>2014-07-29 06:34:28 +0000</bug_when>
    <thetext>Hi, 

Changing status to IN PROGRESS DESIGN. I have a partial solution in the works and will soon get a review link posted here in the bug.

Scott</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>44940</commentid>
    <comment_count>6</comment_count>
    <who name="Scott Rifenbark">srifenbark</who>
    <bug_when>2014-08-04 06:53:45 +0000</bug_when>
    <thetext>Hi, 

I have added a new example to the &quot;Writing a New Recipe&quot; section that describes this issue.  The link is http://www.yoctoproject.org/docs/1.7/dev-manual/dev-manual.html#packaging-externally-produced-binaries.  

Please review the section.  I am changing the status to IN PROGRESS REVIEW.

Scott</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>45414</commentid>
    <comment_count>7</comment_count>
    <who name="Scott Rifenbark">srifenbark</who>
    <bug_when>2014-09-05 08:33:09 +0000</bug_when>
    <thetext>No feedback on this in four weeks.  I am marking it RESOLVED and setting the Doc flag to &quot;Done.&quot;

Scott</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>