<?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>9210</bug_id>
          
          <creation_ts>2016-03-04 03:19:56 +0000</creation_ts>
          <short_desc>Remove dependency in build appliance on Hob</short_desc>
          <delta_ts>2016-05-04 08:17:27 +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>Runtime</product>
          <component>build-appliance</component>
          <version>unspecified</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>High</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>2.1 M4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Paul Eggleton">bluelightning</reporter>
          <assigned_to name="brian avery">brian.avery</assigned_to>
          <cc>alexandru.costinx.roman</cc>
    
    <cc>brian.avery</cc>
    
    <cc>juro.bystricky</cc>
    
    <cc>valentinx.hangan</cc>
          
          <qa_contact name="Alexandru Roman">alexandru.costinx.roman</qa_contact>
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Yes (doc changes required)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>59713</commentid>
    <comment_count>0</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2016-03-04 03:19:56 +0000</bug_when>
    <thetext>Hob has been removed from BitBake, but the build appliance still refers to it. We need a quick fix for M4, which is probably just to put you into a shell rather than launching Hob.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>59889</commentid>
    <comment_count>1</comment_count>
    <who name="Juro Bystricky">juro.bystricky</who>
    <bug_when>2016-03-11 01:58:19 +0000</bug_when>
    <thetext>Since BA needs to modified, it would make sense to include some additional changes:

1. There is no way to determine to which Yocto commit a build appliance corresponds to. So we may have several Build Appliances of identical name
but with different contents. (I suggest putting SRCREV into environment variables and/or reflect SRCREV in the file name, we already put stuff into .basrc)

2. The kernel is not configured with IO statistics enabled, this should be 
fixed. Otherwise we always get a warning saying that.

3. Probably most controversial: Do NOT download the DL_DIR, in other words
remove 	cp -RpL ${DL_DIR}/* ${IMAGE_ROOTFS}/home/builder/poky/build/downloads/
This will have two advantages: 
A. The resulting size will be significantly smaller ~300MB vs 4.8GB.
To keep the size less than 4GB is somewhat important as FAT file system (on a USB flash drive for example) cannot handle files over 4GB.
B. The contents of DL_DIR are a moving target. Auto Builder uses a single shared DL_DIR, so I think we may end up with stuff that we don&apos;t need. 

4. After the build of BA is finished, we end up with 80GB+ of unneeded files each time we build BA. So if we repeat building BA, we run out of disk space quickly.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>60435</commentid>
    <comment_count>2</comment_count>
    <who name="Juro Bystricky">juro.bystricky</who>
    <bug_when>2016-03-27 18:40:44 +0000</bug_when>
    <thetext>The HOB dependency was removed in this commit:

https://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=8ea5cdc77633831a34aeb09ccd7592b3a5ecbd3d

by Joshua Lock

There was an additional improvement (optional inclusion of downloaded sources):
https://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=09eab6b992c9ef1885ccfd6740c95b66df7c2809

(also by Joshua Lock)

So I am setting the status to RESOLVED/FIXED</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>61009</commentid>
    <comment_count>3</comment_count>
    <who name="Alexandru Roman">alexandru.costinx.roman</who>
    <bug_when>2016-04-11 13:17:39 +0000</bug_when>
    <thetext>This bug is verified, the HOB dependency was removed.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>