Hi Jose,

On 1/16/24 04:34, Jose Quaresma wrote:
> 
> 
> Matt Wood <mattwood2...@gmail.com <mailto:mattwood2...@gmail.com>> escreveu 
> (segunda, 15/01/2024 à(s) 19:44):
> 
>     Hi,
> 
>     I was wondering if the IMAGE_INSTALL:append syntax could work in 
> multiconfig environment from the top-level local.conf file?
> 
>     For example, I have a meta-layer that defines the muitconfig (main.conf 
> and initramfs.conf).  From my build directory, I was hoping to append the 
> IMAGE_INSTALL list only for the main configuration similar to how it can be 
> done from local.conf in a standard build.  I wanted to avoid having to modify 
> the meta-layer files.
> 
>     I tried the following from local.conf but neither worked:
> 
>     IMAGE_INSTALL:append:mc:main = " pkg"
>     IMAGE_INSTALL:mc:main:append = " pkg"
> 
> 
> To have multiconconig you need to have more than one machine configurations 
> so It should work with something like:
> 
> IMAGE_INSTALL:append:main = " pkg1"
> IMAGE_INSTALL:append:initramfs = " pkg2"
> 
> Jose

I have two configurations for a multiconfig in my meta-layer 
(conf/multiconfig/main.conf and conf/multiconfig/initramfs.conf)

Unfortunately, adding IMAGE_INSTALL:append:main = " nano" to conf/local.conf 
for example did not work.

But, adding IMAGE_INSTALL:append = " nano" to conf/multiconfig/main.conf does 
work and nano gets built.

Any other suggestions to have append a multiconfig IMAGE_INSTALL list from the 
top level conf/local.conf?

Thanks, Matt.

>  
> 
> 
>     Is there syntax for this or would I have to put this in an image recipe 
> or the multiconfig .conf file?
> 
>     Thanks, Matt.
> 
>     
> 
> 
> 
> -- 
> Best regards,
> 
> José Quaresma

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

Reply via email to