olivierperrier via lists.yoctoproject.org <olivierperrier=
yahoo...@lists.yoctoproject.org> schrieb am Sa., 21. Dez. 2024, 10:53:

> Hello, I am new to yocto/openembedded and after following some tutorials I
> try to achieve my first custom build. The goal is to generate a
> poky(kirkstone) distro featuring mono on raspberry pi 3B+
> I succeed using the meta-mono layer and generated the core-image-mono
> without any problem.
> For learning purpose and avoid depending on an example image, I wanted to
> generate the core-sato image and amend it with core-image-mono in my
> local.conf.
> So I checked inside the meta-mono/recipes-mono/images/core-image-mono.bb
> and view it was referencing the core-image-sato and the core-image-mono.inc.
> In the core-image-mono.inc, I view these two lines:
> IMAGE_INSTALL += "mono mono-helloworld tzdata"
>
> So my approach was to retrieve these lines, paste it in my local.conf and
> change the image from core-image-mono to core-image-sato .
> By doing this my output image fails to boot and does not have the same
> size of the core-image-mono
> What would be the way to debug this ? I assumed by running a
> bitbake -e|grep IMAGE_INSTALL after the two builds and compare them I
> would see some diffferences, but no difference
> I succeed by changing the line
> IMAGE_INSTALL += "mono mono-helloworld tzdata"
> by
> IMAGE_INSTALL :append = "mono mono-helloworld tzdata"
>
That's the correct solution.

>
> I succeed but I do not understand the right way to debug this ?
>
What you write in this e-mail is correct. You do not need to debug it.

What is confusing you are the different operators bitbake supports. The
bitbake documentation covers this. But there are also some presentations
like this https://m.youtube.com/watch?v=46gTjz1sju4 that explain the
details.
Adrian

>
> Thanks a lot for your support
>
>
> 
>
>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#64474): https://lists.yoctoproject.org/g/yocto/message/64474
Mute This Topic: https://lists.yoctoproject.org/mt/110227875/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to