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.
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't figure that out, but I did find that the value I set for IMAGE_INSTALL_append didn't seem to be picked up. This is the toaster-pre.conf file: IMAGE_INSTALL_append=" apache2" PACKAGE_CLASSES="package_rpm" MACHINE="nuc" SDKMACHINE="x86_64" DISTRO="poky" IMAGE_FSTYPES="ext3 jffs2 tar.bz2" TOASTER_BRBE="57:1" 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'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 += "foo". It may be that "_append" is processed differently than "+=", something we have observed in different parts of bitbake. I will investigate.
Verified on master: 5c76cebc24675edb3dff473fce9b67cedff615db