summaryrefslogtreecommitdiffstats
path: root/meta/classes/packageinfo.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/packageinfo.bbclass')
-rw-r--r--meta/classes/packageinfo.bbclass20
1 files changed, 0 insertions, 20 deletions
diff --git a/meta/classes/packageinfo.bbclass b/meta/classes/packageinfo.bbclass
index 5e6f5901e0..4709bea359 100644
--- a/meta/classes/packageinfo.bbclass
+++ b/meta/classes/packageinfo.bbclass
@@ -8,24 +8,6 @@ python packageinfo_handler () {
8 package_archs = e.data.getVar('PACKAGE_ARCHS', True) 8 package_archs = e.data.getVar('PACKAGE_ARCHS', True)
9 packaging = e.data.getVar('PACKAGE_CLASSES', True).split()[0].split('_')[1] 9 packaging = e.data.getVar('PACKAGE_CLASSES', True).split()[0].split('_')[1]
10 deploy_dir = e.data.getVar('DEPLOY_DIR', True) + '/' + packaging 10 deploy_dir = e.data.getVar('DEPLOY_DIR', True) + '/' + packaging
11 dirs = os.listdir(tmpdir + '/work/')
12 pkgsplit_dir = tmpdir + '/work/'
13 items = {}
14 passing = ''
15 for directories in dirs:
16 temp_dirs = os.listdir(pkgsplit_dir + directories)
17 for temps1 in temp_dirs:
18 if os.path.exists(pkgsplit_dir + directories + '/' + temps1 + '/' + os.listdir(pkgsplit_dir + directories + '/' + temps1)[0] + '/packages-split'):
19 subs = pkgsplit_dir + directories + '/' + temps1 + '/' + os.listdir(pkgsplit_dir + directories + '/' + temps1)[0] + '/packages-split'
20 for temps in os.listdir(subs):
21 items[temps] = {}
22 for path, dirs, files in os.walk(pkgsplit_dir + directories + '/' + temps1 + '/' + os.listdir(pkgsplit_dir + directories + '/' + temps1)[0] + '/packages-split' + '/' + temps):
23 file_list = []
24 if os.listdir(path) != []:
25 items[temps][path] = []
26 for f in files:
27 file_list.append(f)
28 items[temps][path].append(file_list)
29 11
30 for arch in package_archs.split(): 12 for arch in package_archs.split():
31 pkgdata_dir = tmpdir + '/pkgdata/' + arch + target_vendor + '-' + target_os + '/runtime/' 13 pkgdata_dir = tmpdir + '/pkgdata/' + arch + target_vendor + '-' + target_os + '/runtime/'
@@ -38,8 +20,6 @@ python packageinfo_handler () {
38 try: 20 try:
39 sdata = oe.packagedata.read_pkgdatafile(pkgdatafile) 21 sdata = oe.packagedata.read_pkgdatafile(pkgdatafile)
40 sdata['PKG'] = pkgname 22 sdata['PKG'] = pkgname
41 if pkgname in items:
42 sdata['FILES_INFO'] = items[pkgname]
43 pkginfolist.append(sdata) 23 pkginfolist.append(sdata)
44 except Exception as e: 24 except Exception as e:
45 bb.warn("Failed to read pkgdata file %s: %s: %s" % (pkgdatafile, e.__class__, str(e))) 25 bb.warn("Failed to read pkgdata file %s: %s: %s" % (pkgdatafile, e.__class__, str(e)))