<?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>7394</bug_id>
          
          <creation_ts>2015-03-04 16:35:32 +0000</creation_ts>
          <short_desc>Toaster needs to add a space to the value of IMAGE_INSTALL_append</short_desc>
          <delta_ts>2015-03-31 15:00:22 +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>Toaster</product>
          <component>toaster</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>Medium+</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.8 M4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Belen Barros Pena">belen.barros.pena</reporter>
          <assigned_to name="David Reyna">david.reyna</assigned_to>
          <cc>alexandru.c.georgescu</cc>
    
    <cc>alexandru.damian</cc>
    
    <cc>belen.barros.pena</cc>
    
    <cc>cristiana.voicu</cc>
    
    <cc>jessica.zhang</cc>
          
          <qa_contact name="Mihail Stanciu">stanciux.mihail</qa_contact>
          <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>49179</commentid>
    <comment_count>0</comment_count>
    <who name="Belen Barros Pena">belen.barros.pena</who>
    <bug_when>2015-03-04 16:35:32 +0000</bug_when>
    <thetext>If users fail to add the opening space when setting the value of the IMAGE_INSTALL_append variable, Toaster should (very nicely) add it for them.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>49384</commentid>
    <comment_count>1</comment_count>
    <who name="David Reyna">david.reyna</who>
    <bug_when>2015-03-11 22:35:56 +0000</bug_when>
    <thetext>Belén oberved:

In one of my builds, I added the meta-webserver layer, then set
IMAGE_INSTALL_append to apache2

The build failed, so I went to check what happened. I didn&apos;t figure that
out, but I did find that the value I set for IMAGE_INSTALL_append didn&apos;t
seem to be picked up. This is the toaster-pre.conf file:

IMAGE_INSTALL_append=&quot; apache2&quot;
PACKAGE_CLASSES=&quot;package_rpm&quot;
MACHINE=&quot;nuc&quot;
SDKMACHINE=&quot;x86_64&quot;
DISTRO=&quot;poky&quot;
IMAGE_FSTYPES=&quot;ext3 jffs2 tar.bz2&quot;
TOASTER_BRBE=&quot;57:1&quot;


So the value I set is there. But when I go to variables history and check
IMAGE_INSTALL, it says the value was an empty string. The only file that
set the variable was the toaster-pre.conf file (see attached screenshot).

However, apache2 *was* installed in the image. How do I know, if the build
failed? Because the build failed after do_rootfs, so I was able to get to
the list of packages installed, since rootfs files were created.

So I am not sure what&apos;s happening here. Is it possible that the variable
history is not picking up the values set via toaster-pre.conf?

David mentions:

In Wind River we always use IMAGE_INSTALL += &quot;foo&quot;. It may be that &quot;_append&quot; is processed differently than &quot;+=&quot;, something we have observed in different parts of bitbake.

I will investigate.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>49984</commentid>
    <comment_count>2</comment_count>
    <who name="Mihail Stanciu">stanciux.mihail</who>
    <bug_when>2015-03-31 15:00:22 +0000</bug_when>
    <thetext>Verified on master: 5c76cebc24675edb3dff473fce9b67cedff615db</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>