On Wed, 2024-07-03 at 14:28 +0200, Alexander Kanavin wrote:
> On Tue, 25 Jun 2024 at 13:54, Richard Purdie
> <[email protected]> wrote:
> 
> > I appreciate it calls this "inherits" but this is actually a list
> > of
> > any file included by the base recipe so any bbclass, .bb, or .inc
> > file
> > that was included should be listed here. The True/False associated
> > with
> > it is whether the file existed or not so that if it changed, we
> > know to
> > reparse.
> 
> This doesn't seem to be correct. I added
> 
> +       
> logger.info(tinfoil.cooker_data.inherits['/srv/work/alex/poky/meta/re
> cipes-devtools/cmake/cmake_3.29.3.bb'])
> +       
> logger.info(tinfoil.cooker_data.inherits['/srv/work/alex/poky/meta/re
> cipes-devtools/cmake/cmake-native_3.29.3.bb'])
> 
> to devtool to see how the data in that attribute looks like, and
> unfortunately it contains only .bbclass filenames and not .inc or any
> other dependent files:
> 
> INFO: ['/srv/work/alex/poky/meta/classes-global/base.bbclass',
> '/srv/work/alex/poky/meta/classes-global/patch.bbclass',
> '/srv/work/alex/poky/meta/classes/terminal.bbclass',
> '/srv/work/alex/poky/meta/classes-global/staging.bbclass',
> '/srv/work/alex/poky/meta/classes-global/mirrors.bbclass',
> '/srv/work/alex/poky/meta/classes-global/utils.bbclass',
> '/srv/work/alex/poky/meta/classes-global/utility-tasks.bbclass', ...
> 
> etc. - no cmake.inc mentioned anywhere.
> 
> So assuming I didn't miss something, this either needs further
> bitbake/tinfoil extensions (even more work), or we can just write
> manual hints for lockstep upgrades into recipes (there's not that
> many
> of them so I'm leaning that way tbh).

Sorry, I've got confused. Look at tinfoil.cooker_data.file_depends 

Cheers,

Richard

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#201475): 
https://lists.openembedded.org/g/openembedded-core/message/201475
Mute This Topic: https://lists.openembedded.org/mt/106796297/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to