diff options
author | Mikko Rapeli <mikko.rapeli@bmw.de> | 2017-03-01 11:08:47 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-03-04 23:18:19 +0000 |
commit | f1475ed5826cefeff13ad14e19d476acc6f63355 (patch) | |
tree | 4ec1a38d5178ce6b88ab8227efc4b7ebefe806d8 /meta/classes | |
parent | 132b4d13e0e59c2929484111ed70ad62e30a3d2b (diff) | |
download | poky-f1475ed5826cefeff13ad14e19d476acc6f63355.tar.gz |
buildhistory.bbclass: use tabs as separator in installed-package-sizes.txt
All other fields are separated by tabs except KiB and binary package
name. This helps users, *cough managers*, who import this file into
MS Excel to calculate file system usage summaries.
(From OE-Core rev: e26bed8493d7b096740cd6fff2e72ab27d48a933)
Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/buildhistory.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/buildhistory.bbclass b/meta/classes/buildhistory.bbclass index 7251a2c351..ee6addd1b1 100644 --- a/meta/classes/buildhistory.bbclass +++ b/meta/classes/buildhistory.bbclass | |||
@@ -414,7 +414,7 @@ buildhistory_get_installed() { | |||
414 | 414 | ||
415 | # Produce installed package sizes list | 415 | # Produce installed package sizes list |
416 | oe-pkgdata-util -p ${PKGDATA_DIR} read-value "PKGSIZE" -n -f $pkgcache > $1/installed-package-sizes.tmp | 416 | oe-pkgdata-util -p ${PKGDATA_DIR} read-value "PKGSIZE" -n -f $pkgcache > $1/installed-package-sizes.tmp |
417 | cat $1/installed-package-sizes.tmp | awk '{print $2 "\tKiB " $1}' | sort -n -r > $1/installed-package-sizes.txt | 417 | cat $1/installed-package-sizes.tmp | awk '{print $2 "\tKiB\t" $1}' | sort -n -r > $1/installed-package-sizes.txt |
418 | rm $1/installed-package-sizes.tmp | 418 | rm $1/installed-package-sizes.tmp |
419 | 419 | ||
420 | # We're now done with the cache, delete it | 420 | # We're now done with the cache, delete it |