yocto.lists.yoctoproject.org archive mirror
 help / color / mirror / Atom feed
* Register out-of-tree fetcher with devtool
@ 2023-06-02  4:47 Weihmann, Konrad (Avnet Embedded)
  2023-06-02 20:10 ` [yocto] " adrian.freihofer
  2023-06-04 12:51 ` Richard Purdie
  0 siblings, 2 replies; 5+ messages in thread
From: Weihmann, Konrad (Avnet Embedded) @ 2023-06-02  4:47 UTC (permalink / raw)
  To: yocto

[-- Attachment #1: Type: text/plain, Size: 695 bytes --]

Hi all,

we do have an out-of-tree fetcher that I would like to make use of with devtool, for instance for upgrade checking.
Within our recipes the fetcher is registered by this workaround

python () {
    import foo
    bb.fetch2.methods.append(foo.FooFetcher())
}

Which isn't the nicest possible solution still does the trick.

But that doesn't work for devtool, as it seems to not take any but oe-core lib-paths into consideration.

For devtool check-upgrade-status <recipe with above code snippet>

I get something like "no handler for foo://... found".

Is there any way to register this out-of-tree fetcher module so tinfoil/devtool can "see" them?

Cheers
Konrad


[-- Attachment #2: Type: text/html, Size: 2671 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-06-04 13:22 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-06-02  4:47 Register out-of-tree fetcher with devtool Weihmann, Konrad (Avnet Embedded)
2023-06-02 20:10 ` [yocto] " adrian.freihofer
2023-06-04  8:01   ` Weihmann, Konrad (Avnet Embedded)
2023-06-04 12:51 ` Richard Purdie
2023-06-04 13:22   ` Weihmann, Konrad (Avnet Embedded)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).