aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/contrib/verify-homepage.py
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2016-08-31 13:48:06 +1200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-09-03 23:45:43 +0100
commit95b6ceffd947271f315d8a7660797ab371adfbb9 (patch)
tree6b083567477fbd9658295540ef15bfcd8d73dd04 /scripts/contrib/verify-homepage.py
parenteed586dd238efe859442b21b425f04e262bcdb2b (diff)
downloadopenembedded-core-contrib-95b6ceffd947271f315d8a7660797ab371adfbb9.tar.gz
openembedded-core-contrib-95b6ceffd947271f315d8a7660797ab371adfbb9.tar.bz2
openembedded-core-contrib-95b6ceffd947271f315d8a7660797ab371adfbb9.zip
scripts/contrib: update scripts for changes to internal API
The multiconfig changes altered some of the functions being called here, so update the calls. Make use of the new Tinfoil.parse_recipe_file() function to make parsing easier. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/contrib/verify-homepage.py')
-rwxr-xr-xscripts/contrib/verify-homepage.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/contrib/verify-homepage.py b/scripts/contrib/verify-homepage.py
index 61a047c40b..0b1450a018 100755
--- a/scripts/contrib/verify-homepage.py
+++ b/scripts/contrib/verify-homepage.py
@@ -33,17 +33,17 @@ def wgetHomepage(pn, homepage):
return 0
def verifyHomepage(bbhandler):
- pkg_pn = bbhandler.cooker.recipecache.pkg_pn
+ pkg_pn = bbhandler.cooker.recipecaches[''].pkg_pn
pnlist = sorted(pkg_pn)
count = 0
checked = []
for pn in pnlist:
for fn in pkg_pn[pn]:
# There's no point checking multiple BBCLASSEXTENDed variants of the same recipe
- realfn, _ = bb.cache.Cache.virtualfn2realfn(fn)
+ realfn, _, _ = bb.cache.virtualfn2realfn(fn)
if realfn in checked:
continue
- data = bb.cache.Cache.loadDataFull(realfn, bbhandler.cooker.collection.get_file_appends(realfn), bbhandler.config_data)
+ data = bbhandler.parse_recipe_file(realfn)
homepage = data.getVar("HOMEPAGE", True)
if homepage:
try: