diff options
Diffstat (limited to 'meta/classes/toaster.bbclass')
-rw-r--r-- | meta/classes/toaster.bbclass | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/meta/classes/toaster.bbclass b/meta/classes/toaster.bbclass index a68557882c..4de380bce2 100644 --- a/meta/classes/toaster.bbclass +++ b/meta/classes/toaster.bbclass | |||
@@ -265,8 +265,7 @@ python toaster_buildhistory_dump() { | |||
265 | with open("%s/installed-package-sizes.txt" % installed_img_path, "r") as fin: | 265 | with open("%s/installed-package-sizes.txt" % installed_img_path, "r") as fin: |
266 | for line in fin: | 266 | for line in fin: |
267 | line = line.rstrip(";") | 267 | line = line.rstrip(";") |
268 | psize, px = line.split("\t") | 268 | psize, punit, pname = line.split() |
269 | punit, pname = px.split(" ") | ||
270 | # this size is "installed-size" as it measures how much space it takes on disk | 269 | # this size is "installed-size" as it measures how much space it takes on disk |
271 | images[target][pname.strip()] = {'size':int(psize)*1024, 'depends' : []} | 270 | images[target][pname.strip()] = {'size':int(psize)*1024, 'depends' : []} |
272 | 271 | ||