<?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>2601</bug_id>
          
          <creation_ts>2012-06-13 14:31:56 +0000</creation_ts>
          <short_desc>[Hob2] Base image needs to be used rather than re-creating it</short_desc>
          <delta_ts>2013-03-14 07:47:26 +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>Hob</product>
          <component>hob</component>
          <version>1.2</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.4 M2</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Paul Eggleton">bluelightning</reporter>
          <assigned_to name="Cristiana Voicu">cristiana.voicu</assigned_to>
          <cc>alexandru.damian</cc>
    
    <cc>andreea.b.proca</cc>
    
    <cc>jason.wessel</cc>
    
    <cc>jessica.zhang</cc>
    
    <cc>jiajun.xu</cc>
    
    <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>richard.purdie</cc>
    
    <cc>sgw</cc>
    
    <cc>song.liu</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>---</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>22131</commentid>
    <comment_count>0</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2012-06-13 14:31:56 +0000</bug_when>
    <thetext>If you select a base image in Hob which contains e.g. post-processing customisations, these do not get used. It seems that the base image is only used to determine the initial list of packages to be included which can be adjusted by the user, and then these selections are built as a brand new image. Ideally what should occur is that we take a copy of the selected base image and then override IMAGE_INSTALL to include the packages the user has selected, thus preserving any other functionality in the image recipe.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>25025</commentid>
    <comment_count>1</comment_count>
    <who name="Alexandru Damian">alexandru.damian</who>
    <bug_when>2012-09-11 08:18:23 +0000</bug_when>
    <thetext>This is a feature, not a bug, right ?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>25027</commentid>
    <comment_count>2</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2012-09-11 08:30:24 +0000</bug_when>
    <thetext>It depends upon how you look at it. I imagine that many users would not expect the current behaviour.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>25986</commentid>
    <comment_count>3</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2012-10-01 12:25:50 +0000</bug_when>
    <thetext>Just to detail this a little bit more, the issue is that currently the system uses hob-image.bb as a base. Instead we need to take the original image recipe selected then change the included packages to match the user selection so for example, core-image-minimal has:

&quot;&quot;&quot;
IMAGE_ROOTFS_SIZE = &quot;8192&quot;

# remove not needed ipkg informations
ROOTFS_POSTPROCESS_COMMAND += &quot;remove_packaging_data_files ; &quot;
&quot;&quot;&quot;

and these should be included in any customised image based on core-image-minimal.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>26538</commentid>
    <comment_count>4</comment_count>
    <who name="Jason Wessel">jason.wessel</who>
    <bug_when>2012-10-11 22:06:43 +0000</bug_when>
    <thetext>It is also the case that things like the the IMAGE_FEATURES do not get picked up from the local.conf for example.  After running the hob and saving a template anything that was set in the IMAGE_FEATURES is completely gone, which is not entirely useful.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>28321</commentid>
    <comment_count>5</comment_count>
    <who name="Cristiana Voicu">cristiana.voicu</who>
    <bug_when>2012-12-17 09:19:32 +0000</bug_when>
    <thetext>merged to master</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>30687</commentid>
    <comment_count>6</comment_count>
    <who name="Andreea Brandusa Proca">andreea.b.proca</who>
    <bug_when>2013-03-14 07:47:26 +0000</bug_when>
    <thetext>Verified in master:4da406cd50cf02a63ed76810a670aba1eb561c79.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>