<?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>1691</bug_id>
          
          <creation_ts>2011-10-21 11:05:01 +0000</creation_ts>
          <short_desc>[HOB] make IMAGES_TYPE a per recipe setting</short_desc>
          <delta_ts>2014-05-03 17:35:36 +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>unspecified</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>Medium</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>1.7</target_milestone>
          <dependson>1744</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Matthew McClintock">msm-oss</reporter>
          <assigned_to name="Cristiana Voicu">cristiana.voicu</assigned_to>
          <cc>belen.barros.pena</cc>
    
    <cc>dongxiao.xu</cc>
    
    <cc>jessica.zhang</cc>
    
    <cc>jiajun.xu</cc>
    
    <cc>msm-oss</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>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>16950</commentid>
    <comment_count>0</comment_count>
    <who name="Matthew McClintock">msm-oss</who>
    <bug_when>2011-10-21 11:05:01 +0000</bug_when>
    <thetext>IMAGES_TYPE default should be that of the given machine and image. If you save a recipe off - then when you open it the IMAGES_TYPE should be saved with that. It should not be a globally persistant setting.

-M</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>17891</commentid>
    <comment_count>1</comment_count>
    <who name="Dongxiao Xu">dongxiao.xu</who>
    <bug_when>2011-12-29 21:48:04 +0000</bug_when>
    <thetext>Could you describe the &quot;save a recipe off&quot; in more detail? We are not understanding this point well.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>17963</commentid>
    <comment_count>2</comment_count>
    <who name="Matthew McClintock">msm-oss</who>
    <bug_when>2012-01-04 14:39:52 +0000</bug_when>
    <thetext>(In reply to comment #1)
&gt; Could you describe the &quot;save a recipe off&quot; in more detail? We are not
&gt; understanding this point well.

If you change the types of IMAGES generated in hob this is saved globally. So if I select tar.gz tar.bz2 and tar.xz then for each image (core-image-sato, core-image-lsb-sdk, etc) I build within hob all these values are defined.

In reality this should be saved per custom image and not globally, so if I make recipes they should save the IMAGES_TYPES in the recipe:

hob-image-custom1: tar.gz
hob-image-custom2: tar.bz2
hob-image-custom3: tar.gz tar.bz2 tar.xz

In summary we need  to move setting IMAGE_FSTYPES from &apos;conf/hob-post.conf&apos; to &apos;hob-image-customN.bb&apos;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>21621</commentid>
    <comment_count>3</comment_count>
    <who name="Belen Barros Pena">belen.barros.pena</who>
    <bug_when>2012-05-25 14:58:16 +0000</bug_when>
    <thetext>Hi, Matthew: 

I am currently looking at the design of the Hob settings, and I am just wondering if this feature has any impact in the GUI. 

Are you suggesting that the image types should be set per base image (i.e each of the base images available for selection in Hob should have a set of image types linked to it)?

Thanks,

Belen</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>21628</commentid>
    <comment_count>4</comment_count>
    <who name="Matthew McClintock">msm-oss</who>
    <bug_when>2012-05-25 20:13:40 +0000</bug_when>
    <thetext>(In reply to comment #3)
&gt; Hi, Matthew: 
&gt; 
&gt; I am currently looking at the design of the Hob settings, and I am just
&gt; wondering if this feature has any impact in the GUI. 
&gt; 
&gt; Are you suggesting that the image types should be set per base image (i.e
&gt; each of the base images available for selection in Hob should have a set of
&gt; image types linked to it)?
&gt; 
&gt; Thanks,
&gt; 
&gt; Belen

This does not need to effect the GUI. It just effects the saved .bb files. This myimage.bb file should have the IMAGE_FSTYPES and not the hob-{pre,post}.conf files.

That way if I make my own custom image with my own custom packages it also saves my own custom image type I selected as well.

-M</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>30539</commentid>
    <comment_count>5</comment_count>
    <who name="Jessica">jessica.zhang</who>
    <bug_when>2013-03-07 19:15:40 +0000</bug_when>
    <thetext>Relate to overal refactor of configuration changes for hob</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>43095</commentid>
    <comment_count>6</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2014-05-03 17:35:36 +0000</bug_when>
    <thetext>At this point, work will take place on toaster, not hob so marking as won&apos;t fix.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>