[yocto] multiconfig trigger rebuild of mc:initramfs image from mc:main recipe

2024-06-04 Thread Matt Wood
Hi all, In a multiconfig environment is it possible to trigger a rebuild of a recipe in a different multiconfig? For example, I have a recipe in my main image mulitconfig that is updated using PREFERRED_VERSION. I want to update a configuration file with version info that resides in the

Re: [yocto] Get bitbake build target in recipe

2024-05-02 Thread Matt Wood
pes are used for all images > that depend on them, so they need to be image agnostic. If you need to > trigger something across various recipes, then use a DISTRO wide > configuration variable. > > Greetz, > Josef > > On Thu, May 2, 2024 at 3:56 PM Matt Wood via lists.yo

[yocto] Get bitbake build target in recipe

2024-05-02 Thread Matt Wood
Hi all, I'm trying to set the SRCREV of a recipe based on the image name from the bitbake command line. I have tried getting the IMAGE_BASENAME in various tasks but they all return None presumably because these tasks and anonymous python function are evaluated at parse time? Does anyone know if

Re: [yocto] Create separate jffs2 with only specific data from recipe

2024-03-10 Thread Matt Wood
I was able to work this out. For others who may find this useful, my method was to add mtd-utils-native to the DEPENDS list and then call mkfs.jffs2 from do_install. I also inherited deploy and added a do_deploy task to copy the jffs2 file to DEPLOYDIR. Thanks, Matt. On Thu, Mar 7, 2024 at

[yocto] Create separate jffs2 with only specific data from recipe

2024-03-07 Thread Matt Wood
Hi, I've been looking around and trying to figure out if it is possible to create a separate jffs2 (or other FS) image that does not contain the main build image, but only specific files or data from a recipe in the same build. For example, I have an image recipe that creates a wic with ext4 and

Re: [yocto] append recipe to multiconfig build from top-level local.conf

2024-01-17 Thread Matt Wood
Hi Jose, On 1/16/24 04:34, Jose Quaresma wrote: > > > Matt Wood 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 f

[yocto] append recipe to multiconfig build from top-level local.conf

2024-01-15 Thread Matt Wood
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