<?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>5791</bug_id>
          
          <creation_ts>2014-02-05 13:31:56 +0000</creation_ts>
          <short_desc>Image install fails when appending piglit because it adds to initramfs</short_desc>
          <delta_ts>2014-03-07 19:08:03 +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>OE-Core</product>
          <component>core</component>
          <version>1.6</version>
          <rep_platform>NUC</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>07 March 2014 - I need some information for the doc part.</status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.6</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Alexandru Palalau">alexandrux.palalau</reporter>
          <assigned_to name="Saul Wold">sgw</assigned_to>
          <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>richard.purdie</cc>
    
    <cc>ross.burton</cc>
    
    <cc>sgw</cc>
    
    <cc>srifenbark</cc>
          
          
          <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>40194</commentid>
    <comment_count>0</comment_count>
    <who name="Alexandru Palalau">alexandrux.palalau</who>
    <bug_when>2014-02-05 13:31:56 +0000</bug_when>
    <thetext>Build Configuration:
BB_VERSION        = &quot;1.21.1&quot;
BUILD_SYS         = &quot;x86_64-linux&quot;
NATIVELSBSTRING   = &quot;Fedora-19&quot;
TARGET_SYS        = &quot;x86_64-poky-linux&quot;
MACHINE           = &quot;nuc&quot;
DISTRO            = &quot;poky&quot;
DISTRO_VERSION    = &quot;1.5+snapshot-20140205&quot;
TUNE_FEATURES     = &quot;m64 corei7&quot;
TARGET_FPU        = &quot;&quot;
meta              
meta-yocto        
meta-yocto-bsp    = &quot;master:4e9eb77108c7e628ebd00ec848b8bc034802e197&quot;
meta-intel        
meta-nuc          = &quot;master:c5ca9f67121bff0b7400a175f005212234906b37&quot;

At this moment, we have piglit added by default to the sato-sdk image.
Adding IMAGE_INSTALL_append = &quot; piglit&quot; to the local.conf and building a sato image (or sato-sdk) results in image not being installed on BSP.
The following message is presented after answering to the installation location/storage question:

***********************************
Installing image on /dev/sda ...
cat: write error: Invalid argument
Installation image failed

sh: cannot set terminal process group(-1): Inappropriate ioctl for device
sh: no job control in this shell
***********************************

The piglit testsuite can be successfully run in live boot.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>40199</commentid>
    <comment_count>1</comment_count>
      <attachid>1759</attachid>
    <who name="Alexandru Palalau">alexandrux.palalau</who>
    <bug_when>2014-02-06 10:13:15 +0000</bug_when>
    <thetext>Created attachment 1759
pn-buildlist files

The pn-buildlist files are from both scenarios(with/without piglit appended) to a sato-sdk image for nuc</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>40200</commentid>
    <comment_count>2</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2014-02-06 11:02:11 +0000</bug_when>
    <thetext>The package list is identical, so there must be a difference in the rootfs.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>40211</commentid>
    <comment_count>3</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2014-02-06 16:02:04 +0000</bug_when>
    <thetext>Please use CORE_IMAGE_EXTRA_INSTALL instead of IMAGE_INSTALL</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>40228</commentid>
    <comment_count>4</comment_count>
    <who name="Alexandru Palalau">alexandrux.palalau</who>
    <bug_when>2014-02-07 11:08:22 +0000</bug_when>
    <thetext>That worked fine although it&apos;s just a workaround.
Thanks</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>40540</commentid>
    <comment_count>5</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2014-02-20 20:32:39 +0000</bug_when>
    <thetext>You point out an interesting issue with the usage of IMAGE_INSTALL to generally 
add things to the image vs using CORE_IMAGE_EXTRA_INSTALL.

Since you don&apos;t like CORE_IMAGE_EXTRA_INSTALL and since adding a package to 
IMAGE_INSTALL affects both the image you are building and the initramfs image, 
another option is to add an explict IMAGE_INSTALL_append_pn-&lt;image name&gt; = &quot; 
&lt;package names&gt;&quot;to your local.conf this will cause that set  of packages in 
&lt;package names&gt; to only be installed in that particular image that you define 
in &lt;image name&gt;.

The other option is we change IMAGE_INSTALL&apos;s meaning somehow for the initramfs 
image specificly so that it can not be appended to, but I don&apos;t think that&apos;s 
the right solution either.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>40846</commentid>
    <comment_count>6</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2014-03-03 22:37:30 +0000</bug_when>
    <thetext>http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=8d13b43f16ea289afc93f14d5dfbff5d81520a01</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>40852</commentid>
    <comment_count>7</comment_count>
    <who name="Alexandru Palalau">alexandrux.palalau</who>
    <bug_when>2014-03-04 08:15:47 +0000</bug_when>
    <thetext>I could successfully install the image after the mentioned commit.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>40915</commentid>
    <comment_count>8</comment_count>
    <who name="Alexandru Palalau">alexandrux.palalau</who>
    <bug_when>2014-03-06 10:47:03 +0000</bug_when>
    <thetext>Somehow I changed the status. 
Changing it back to Resolved/Fixed</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>40916</commentid>
    <comment_count>9</comment_count>
    <who name="Alexandru Palalau">alexandrux.palalau</who>
    <bug_when>2014-03-06 10:47:40 +0000</bug_when>
    <thetext>Setting to Verified as per Comment #7
Sorry for the missunderstanding</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>40982</commentid>
    <comment_count>10</comment_count>
    <who name="Scott Rifenbark">srifenbark</who>
    <bug_when>2014-03-07 19:08:03 +0000</bug_when>
    <thetext>Hi, 

For the documentation component for this fixed bug, it seems like I need to expand on the definitions of IMAGE_INSTALL and CORE_IMAGE_EXTRA_INSTALL, both of which we have in our glossary (http://www.yoctoproject.org/docs/1.6/ref-manual/ref-manual.html#var-IMAGE_INSTALL and http://www.yoctoproject.org/docs/1.6/ref-manual/ref-manual.html#var-CORE_IMAGE_EXTRA_INSTALL.  

Would providing the general information that Saul points out in Comment 5 cover this well enough?

Thanks, 
Scott</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>1759</attachid>
            <date>2014-02-06 10:13:15 +0000</date>
            <delta_ts>2014-02-06 10:13:15 +0000</delta_ts>
            <desc>pn-buildlist files</desc>
            <filename>pn-buildlists.tgz</filename>
            <type>application/x-gtar</type>
            <size>2987</size>
            <attacher name="Alexandru Palalau">alexandrux.palalau</attacher>
            
              <data encoding="base64">H4sIAKFg81IAA+1a27bbKBLNM1+R91lkzi3J/E0vBEgmlgQHkC3762cXSAify+qZnsmtl3iIY0tC
ULVr1y7quJE3k+lVb0L88J3GHcaXL0/0ef/18139Sf99erz/+uH+4eHr05fPX7/Q7/ePj/ePHz7e
fa8F1WMKUfiPHz9ctW56Pb97359d/01HM4VLY2cWDkLZMx9FNCfNetN0ruPae+vX3+b2X18GE6Tz
Nlp2FpdejGq9OMrJBx3Wr51qBiamaAdxxJNB+5P2fLa+o6mNxBuUtGNrujJ70JFF2a/fm37SV36Q
Rk2DY8cmv9UJeRSd7rydHJfW6wxeHYIeoxE9zT6FBpcGJyLrRjto+jLY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