* append recipe to multiconfig build from top-level local.conf
@ 2024-01-15 19:44 mattwood2000
2024-01-16 9:34 ` [yocto] " Jose Quaresma
0 siblings, 1 reply; 3+ messages in thread
From: mattwood2000 @ 2024-01-15 19:44 UTC (permalink / raw)
To: Yocto-mailing-list
[-- Attachment #1: Type: text/plain, Size: 708 bytes --]
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"
Is there syntax for this or would I have to put this in an image recipe or
the multiconfig .conf file?
Thanks, Matt.
[-- Attachment #2: Type: text/html, Size: 929 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [yocto] append recipe to multiconfig build from top-level local.conf
2024-01-15 19:44 append recipe to multiconfig build from top-level local.conf mattwood2000
@ 2024-01-16 9:34 ` Jose Quaresma
2024-01-17 22:43 ` Matt Wood
0 siblings, 1 reply; 3+ messages in thread
From: Jose Quaresma @ 2024-01-16 9:34 UTC (permalink / raw)
To: yocto, mattwood2000
[-- Attachment #1: Type: text/plain, Size: 1519 bytes --]
Matt Wood <mattwood2000@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
>
> Is there syntax for this or would I have to put this in an image recipe or
> the multiconfig .conf file?
>
> Thanks, Matt.
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#62161):
> https://lists.yoctoproject.org/g/yocto/message/62161
> Mute This Topic: https://lists.yoctoproject.org/mt/103747116/5052612
> Group Owner: yocto+owner@lists.yoctoproject.org
> Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [
> quaresma.jose@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
>
--
Best regards,
José Quaresma
[-- Attachment #2: Type: text/html, Size: 2801 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [yocto] append recipe to multiconfig build from top-level local.conf
2024-01-16 9:34 ` [yocto] " Jose Quaresma
@ 2024-01-17 22:43 ` Matt Wood
0 siblings, 0 replies; 3+ messages in thread
From: Matt Wood @ 2024-01-17 22:43 UTC (permalink / raw)
To: Jose Quaresma, yocto
Hi Jose,
On 1/16/24 04:34, Jose Quaresma wrote:
>
>
> Matt Wood <mattwood2000@gmail.com <mailto:mattwood2000@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.
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#62161): https://lists.yoctoproject.org/g/yocto/message/62161 <https://lists.yoctoproject.org/g/yocto/message/62161>
> Mute This Topic: https://lists.yoctoproject.org/mt/103747116/5052612 <https://lists.yoctoproject.org/mt/103747116/5052612>
> Group Owner: yocto+owner@lists.yoctoproject.org <mailto:yocto%2Bowner@lists.yoctoproject.org>
> Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub <https://lists.yoctoproject.org/g/yocto/unsub> [quaresma.jose@gmail.com <mailto:quaresma.jose@gmail.com>]
> -=-=-=-=-=-=-=-=-=-=-=-
>
>
>
> --
> Best regards,
>
> José Quaresma
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-01-17 22:44 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-15 19:44 append recipe to multiconfig build from top-level local.conf mattwood2000
2024-01-16 9:34 ` [yocto] " Jose Quaresma
2024-01-17 22:43 ` Matt Wood
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox