[Toaster] Issues with project user-modified configuration variables
Damian, Alexandru
alexandru.damian at intel.com
Fri Feb 20 03:40:52 PST 2015
Still looking into it,
Alex
On Wed, Feb 18, 2015 at 7:16 PM, Reyna, David L (Wind River) <
david.reyna at windriver.com> wrote:
> Hi Alex and Belen,
>
>
>
> I have done further research into the application of the variables from
> the Project Configuration Variable page and the actual build output. Here
> is what I found.
>
>
>
> 1) I created a new project and changed these configuration settings from
> the defaults
>
>
>
> IMAGE_INSTALL_append => "bash"
>
> PACKAGE_CLASSES => "package_ipk"
>
> SDKMACHINE => "i686"
>
> IMAGE_FSTYPES => "tar.bz2"
>
> FOO => "bar"
>
>
>
> 2) Then started a build and examined the “…/build/conf/toaster-pre.conf”
> file, and I happily observe that my values appeared there as expected.
>
>
>
> IMAGE_INSTALL_append="bash"
>
> PACKAGE_CLASSES="package_ipk"
>
> SDKMACHINE="i686"
>
> IMAGE_FSTYPES="tar.bz2"
>
> FOO="bar"
>
>
>
> 3) However, when I examined the Configuration Variables (via Toaster!)
> after the build finished, I observed these results:
>
>
>
> Bad:
>
> * “IMAGE_INSTALL_append” was undefined
>
> * “IMAGE_FSTYPES” was "ext2 tar.bz2 ext3"
>
> Good:
>
> * The values “PACKAGE_CLASSES" and “SDKMACHINE" were correct
>
> * The customer value “FOO” was indeed "bar"
>
>
>
> 4) It appears for “IMAGE_FSTYPES” that bitbake is still doing an append
> even though it clearly has a “set” as the last operation (as per Toaster!)
>
>
>
> 1
> /opt/dreyna/toaster_master/build/conf/toaster-pre.conf
> set 6
>
> 2
> /opt/dreyna/toaster_master/_poky_master.toaster_cloned/meta/conf/machine/include/qemu.inc
> append 18
>
> 3
> /opt/dreyna/toaster_master/_poky_master.toaster_cloned/meta/conf/bitbake.conf
> set? 687
>
>
>
> 5) It appears that “IMAGE_INSTALL_append” is overridden or not processed
> as expected by bitbake, meaning that we need some additional trick.
>
>
>
> I will say that in Wind River we do this, which seems the same but may be
> processed differently:
>
>
>
> IMAGE_INSTALL += "mpatrol"
>
>
>
> - David
>
>
>
--
Alex Damian
Yocto Project
SSG / OTC
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/toaster/attachments/20150220/e53b195e/attachment.html>
More information about the toaster
mailing list