Wasn't this fixed by
https://git.yoctoproject.org/meta-virtualization/commit/?id=c02af94731631b3432b8ddee2b89761ab32530ee
?

On Thu, Sep 12, 2024 at 10:31 AM Markus Volk via
lists.yoctoproject.org <[email protected]>
wrote:
>
> If building linux-intel from meta-intel in combination with 
> meta-virtualization,
> build fails in:
> [https://git.yoctoproject.org/meta-virtualization/tree/recipes-kernel/linux/linux-yocto_virtualization.inc?h=master-next#n36]
>
> ERROR: Nothing PROVIDES 'yocto-cfg-fragments-6.10+git-native'. Close matches:
>   yocto-cfg-fragments-6.10
>   yocto-cfg-fragments-6.10-native
>   yocto-cfg-fragments-6.6-native
> ERROR: Required build target 'linux-intel' has no buildable providers.
> Missing or unbuildable dependency chain was: ['linux-intel', 
> 'yocto-cfg-fragments-6.10+git-native']
>
> Be more sloppy for the sake of compatibility.
>
> Signed-off-by: Markus Volk <[email protected]>
> ---
>  recipes-kernel/linux/linux-%.bbappend | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/recipes-kernel/linux/linux-%.bbappend 
> b/recipes-kernel/linux/linux-%.bbappend
> index dbae9b14..abd5a5d5 100644
> --- a/recipes-kernel/linux/linux-%.bbappend
> +++ b/recipes-kernel/linux/linux-%.bbappend
> @@ -1,8 +1,8 @@
>  # any kernel recipe with fragment support, that sets LINUX_VERSION to one of 
> the tested
>  # values, will get the appropriate fragments included in their SRC_URI
>
> -LINUX_MAJOR = "${@(d.getVar('LINUX_VERSION') or "x.y").split('.')[0]}"
> -LINUX_MINOR = "${@(d.getVar('LINUX_VERSION') or "x.y").split('.')[1]}"
> +LINUX_MAJOR = "${@("x.y").split('.')[0]}"
> +LINUX_MINOR = "${@("x.y").split('.')[1]}"
>
>  KERNEL_META_TYPE = "${@'yocto' if d.getVar('SRC_URI').find('type=kmeta') > 0 
> and d.getVar('SKIP_META_VIRT_KERNEL_INCLUDE') == None else 'none'}"
>
> --
> 2.46.0
>
>
> 
>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#8887): 
https://lists.yoctoproject.org/g/meta-virtualization/message/8887
Mute This Topic: https://lists.yoctoproject.org/mt/108409634/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to