Hi,

I want to print out all the URI_SRC I use during the build.  And I have tried 3 
methods in 2 places as follow. But all of these can not print out the src path. 
Did I make some mistakes? Could anyone help me on this? Thank you.


PLACE ONE  in poky-edison-6.0.1/bitbake/lib/bb/fetch2/__init__.py
class Fetch(object):
    def __init__(self, urls, d, cache = True):
......
        for url in urls:
            if url not in self.ud:
                print('====%s' % url) # code I added
                self.ud[url] = FetchData(url, d)
......


PLACE TWO  in poky-edison-6.0.1/meta/classes/base.bbclass
python base_do_fetch() {


src_uri = (bb.data.getVar('SRC_URI', d, True) or "").split()
if len(src_uri) == 0:
return
        print('====%s' % src_url) # code I added
        bb.note('====%s' % src_url) # code I added
}


Jim Green
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to