On Wed, Jun 17, 2020 at 11:46 AM Ashishx88
<ashish.emailaddr...@gmail.com> wrote:
>
> Hi All ,
>
> Good Evening .
> I have been working with poky for some time & started with virtualization 
> shortly.
> and hence seeked some inputs to understand the layer .
>
> - I am trying to compile linux for version 5.4 with virtualization ( dunfell 
> branch )
>   The error being reported is " ERROR. input file "cfg/virtio.scc" does not 
> exist "
>
> - Evaluating further , i was able to check that error was due to  
> "linux-yocto_virtualization.inc"
>    which had KERNEL_FEATURES_append = " cfg/virtio.scc"
>
> Can member please provide any input or let me know if i have mis-understood 
> any aspect
> of meta-virtualization
>
> a) Why we have  linux-yocto_5.4_virtualization.inc specifically only for 
> linux-5.4 only.
>     I was assuming to have similar file for linux-4.19 also , which is not 
> there in layer ?

Because we only match the active kernels in oe-core. That's 5.4. You
must use the older branches to get older kernels.

> [ linux-yocto_5.4_virtualization.inc ] =>  [linux-yocto_virtualization.inc] 
> => [KERNEL_FEATURES_append = " cfg/virtio.scc" ]=> [error  "cfg/virtio.scc" ]
>
> b) Looking for the file , i found the required file at 
> http://git.yoctoproject.org/cgit/cgit.cgi/yocto-kernel-cache/tree/cfg
>     But now , i am not sure where is the "cfg"  folder where i can store the 
> file as per KERNEL_FEATURES_append = " cfg/virtio.scc"

You must use the kernel-cache for those fragments, that's the design
of KERNEL_FEATURES. It looks at the centralized fragment repository.
If you are providing something in your own layer, or using your own
kernel recipe, you must have a fragment of that name, in that
directory structure.

I've just recently explained this in detail in:
https://bugzilla.yoctoproject.org/show_bug.cgi?id=13927

Cheers,

Bruce

>
> Can team members please provide any debugging info or let me know if i am 
> missing something completely here.
>
> Thanks ,
> Ashish
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> 



-- 
- Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end
- "Use the force Harry" - Gandalf, Star Trek II
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#5433): 
https://lists.yoctoproject.org/g/meta-virtualization/message/5433
Mute This Topic: https://lists.yoctoproject.org/mt/74940175/21656
Group Owner: meta-virtualization+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to