<?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>1873</bug_id>
          
          <creation_ts>2011-12-29 02:45:05 +0000</creation_ts>
          <short_desc>[Build Appliance] Track Dave&apos;s comments on build appliance</short_desc>
          <delta_ts>2012-03-14 20:42:21 +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>Meta-yocto</product>
          <component>meta-yocto</component>
          <version>1.2</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>(QA testing completed) (Done)</status_whiteboard>
          <keywords></keywords>
          <priority>Low</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>1.2 M3</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Shane Wang">shane.wang</reporter>
          <assigned_to name="Edwin Zhai">edwin.zhai</assigned_to>
          <cc>dexuan.cui</cc>
    
    <cc>jiajun.xu</cc>
    
    <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</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>17879</commentid>
    <comment_count>0</comment_count>
    <who name="Shane Wang">shane.wang</who>
    <bug_when>2011-12-29 02:45:05 +0000</bug_when>
    <thetext>I thought I would give you a few comments for finishing this up:

* I see that you are booting straight into Hob, which is what was requested. I guess I didn’t think that you would have no window manager running at all, but it makes sense. This implies that there will be a number of things which need to be built into the hob to make it useful. I have noted a few below… 

* As you already know, there needs to be a deployment option. Have you thought about how this will look?

* For QEMU* images, should there be an option to start QEMU with the resulting image?

* You will need to add the ability to set up a proxy. I realize that this is not needed for the no-net version, but if you are loading off the network, there will need to be some option for setting these.

* Should there be a dialog for storage management? Something for example which allows you to remove previously built images? Let’s say you have used the appliance for a while and have created 20 or 30 images, you would need to remove some of them to recover space.

* Should there be an option to remove all of tmp to force a complete rebuild of everything from sources?

* Without a WM, I am wondering if you will need the ability to adjust the running display resolution. Even when running this in VMWare, I think the bare metal hardware display will vary in its dimensions, and the default chosen might not be the best.

* Should we give the option to allow someone to escape the Hob jail and enter a window manager?

* Let’s think about the usage model for a minute and see if this works. If there is no WM, then the only thing you can do is chose which packages to include in the image and some of the parameters for the build. You can’t edit any of your sources (unless you add an editor), and I’m not sure you can adjust any kernel parameters. I suppose we could say that these are all advanced features and require you to run Yocto the way God and Richard Purdie designed it (ie, installed on a regular desktop Linux) so we avoid feature bloat.

* Final comment is about the VMWare image size… it sounded like the full one with all SSTATE populated is about 20GB… which seems like a lot.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>17880</commentid>
    <comment_count>1</comment_count>
    <who name="Shane Wang">shane.wang</who>
    <bug_when>2011-12-29 02:46:35 +0000</bug_when>
    <thetext>Saul&apos;s comments:

---------------------

&gt; * I see that you are booting straight into Hob, which is what was requested. I guess I didn&apos;t think that you would have no window manager running at all, but it makes sense. This implies that there will be a number of things which need to be built into the hob to make it useful. I have noted a few below...
&gt;
We are considering a window mananger to be able to hand dropping to a 
shell, running a qemu session, or starting the deployment gui.

&gt; * As you already know, there needs to be a deployment option. Have you thought about how this will look?
&gt;
It&apos;s being worked now, Dexuan is looking at a script that Darren had and 
is going to work on a PyGTK gui that could be launch from HOB

&gt; * For QEMU* images, should there be an option to start QEMU with the resulting image?
&gt;
Agreed, also something we have started talking about, this gets more 
interesting with a client/server setup, as the images need to be loaded 
locally and what host are we on, ...

&gt; * You will need to add the ability to set up a proxy. I realize that this is not needed for the no-net version, but if you are loading off the network, there will need to be some option for setting these.
&gt;
Maybe another dialog box, this is probably as much a HOB issue as it is 
for the self-hosted target, it&apos;s a matter of when hob starts (it needs 
to build pseudo first, and therefor needs to the proxies very early).
This again could be a GUI of somekind that does sanity tests after the 
proxies are set (test connection button).

&gt; * Should there be a dialog for storage management? Something for example which allows you to remove previously built images? Let&apos;s say you have used the appliance for a while and have created 20 or 30 images, you would need to remove some of them to recover space.
&gt;
&gt; * Should there be an option to remove all of tmp to force a complete rebuild of everything from sources?
&gt;
&gt; * Without a WM, I am wondering if you will need the ability to adjust the running display resolution. Even when running this in VMWare, I think the bare metal hardware display will vary in its dimensions, and the default chosen might not be the best.
&gt;
These three might be getting scope creep, I know we need to make this 
usable, the display resolution and storage starts to smack of a Full OS 
and we need to be careful about that.  If we have to boot on any device 
and handle any display we are not going to make it.

I thought the idea was to build on a mac, pc, or linux box using VMware, 
with a fixed configuration that would be delivered.  If I am wrong about 
this we need to really revisit.

For the time being if we get a shell window with a WM, then cleaning can 
be done from there.

&gt; * Should we give the option to allow someone to escape the Hob jail and enter a window manager?
&gt;
See above about adding a WM
&gt; * Let&apos;s think about the usage model for a minute and see if this works. If there is no WM, then the only thing you can do is chose which packages to include in the image and some of the parameters for the build. You can&apos;t edit any of your sources (unless you add an editor), and I&apos;m not sure you can adjust any kernel parameters. I suppose we could say that these are all advanced features and require you to run Yocto the way God and Richard Purdie designed it (ie, installed on a regular desktop Linux) so we avoid feature bloat.
&gt;
Pretty much to do anything other than create images from the default 
packages you are correct, you can&apos;t do it with HOB and now shell window.

&gt; * Final comment is about the VMWare image size... it sounded like the full one with all SSTATE populated is about 20GB... which seems like a lot.
We can use SSTATE_MIRRORS, but we would still need to ship a VMDK that 
could grow to that size or larger for builds, images and local SSTATE.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>17881</commentid>
    <comment_count>2</comment_count>
    <who name="Shane Wang">shane.wang</who>
    <bug_when>2011-12-29 02:49:01 +0000</bug_when>
    <thetext>Shane just filed a bug to track those, and assigned to Edwin.

When Edwin and Dexuan are doing &quot;build appliance&quot;, please consider them.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>17894</commentid>
    <comment_count>3</comment_count>
    <who name="Edwin Zhai">edwin.zhai</who>
    <bug_when>2011-12-29 22:40:10 +0000</bug_when>
    <thetext>I have added matchbox-wm into mini-X. Test showed it can meet our requirements: window close and switch.

Then most of the features can be achieved by switching to another terminal.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>18039</commentid>
    <comment_count>4</comment_count>
    <who name="Edwin Zhai">edwin.zhai</who>
    <bug_when>2012-01-10 00:15:52 +0000</bug_when>
    <thetext>With WM enabled, we achieve most of the features, excepting following:
* deployment option
* setup proxy via HOB
* image size</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>18513</commentid>
    <comment_count>5</comment_count>
    <who name="Edwin Zhai">edwin.zhai</who>
    <bug_when>2012-02-06 17:14:31 +0000</bug_when>
    <thetext>I&apos;d like to close this one, as remaining items like 
* deployment option
* image size
are already tracked by other bugs.

Thanks,
Edwin</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>18993</commentid>
    <comment_count>6</comment_count>
    <who name="Jiajun Xu">jiajun.xu</who>
    <bug_when>2012-03-13 14:52:15 +0000</bug_when>
    <thetext>QA has tested build appliance against both qemu and vmdk image, it could work as expected.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>