1 python read_subpackage_metadata () {
4 data = oe.packagedata.read_pkgdata(bb.data.getVar('PN', d, 1), d)
6 for key in data.keys():
7 bb.data.setVar(key, data[key], d)
9 for pkg in bb.data.getVar('PACKAGES', d, 1).split():
10 sdata = oe.packagedata.read_subpkgdata(pkg, d)
11 for key in sdata.keys():
12 bb.data.setVar(key, sdata[key], d)