And the variable should be named PREFERRED_VERSION_recipe1 (it's not using pn as an override).
On Mon, Feb 8, 2021 at 12:10 PM Josef Holzmayr <[email protected]> wrote: > Howdy! > > Am Mo., 8. Feb. 2021 um 11:52 Uhr schrieb Mauro Ziliani < > [email protected]>: > > In the image recipe I put > > > > image-recipe.bb > > > > IMAGE_INSTALL_append := " \ > > recipe1 \ > > " > > > > PREFERRED_VERSION_pn-recipe1 := "0.9" > > As usual, recipe data is local, conf data is global. Setting things > that should affect other recipes (like PREFERRED_VERSION) does not > work inside a recipe - and an image recipe is still just a recipe. > This needs to go into the DISTRO config, usually. > > Greetz > > > >
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#52261): https://lists.yoctoproject.org/g/yocto/message/52261 Mute This Topic: https://lists.yoctoproject.org/mt/80474452/21656 Group Owner: [email protected] Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
