summaryrefslogtreecommitdiffstats
path: root/meta/classes/buildhistory.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/buildhistory.bbclass')
-rw-r--r--meta/classes/buildhistory.bbclass11
1 files changed, 5 insertions, 6 deletions
diff --git a/meta/classes/buildhistory.bbclass b/meta/classes/buildhistory.bbclass
index 4b80f07b45..a6fbd68333 100644
--- a/meta/classes/buildhistory.bbclass
+++ b/meta/classes/buildhistory.bbclass
@@ -199,12 +199,11 @@ python buildhistory_emit_pkghistory() {
199 pkgdestpkg = os.path.join(pkgdest, pkg) 199 pkgdestpkg = os.path.join(pkgdest, pkg)
200 filelist = [] 200 filelist = []
201 pkginfo.size = 0 201 pkginfo.size = 0
202 for root, dirs, files in os.walk(pkgdestpkg): 202 for f in pkgfiles[pkg]:
203 relpth = os.path.relpath(root, pkgdestpkg) 203 relpth = os.path.relpath(f, pkgdestpkg)
204 for f in files: 204 fstat = os.lstat(f)
205 fstat = os.lstat(os.path.join(root, f)) 205 pkginfo.size += fstat.st_size
206 pkginfo.size += fstat.st_size 206 filelist.append(os.sep + relpth)
207 filelist.append(os.sep + os.path.join(relpth, f))
208 filelist.sort() 207 filelist.sort()
209 pkginfo.filelist = " ".join(filelist) 208 pkginfo.filelist = " ".join(filelist)
210 209