aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMikko Rapeli <mikko.rapeli@bmw.de>2017-03-01 11:08:47 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-03-04 23:18:09 +0000
commite26bed8493d7b096740cd6fff2e72ab27d48a933 (patch)
treec1d98bac85c036995f9e9cedb850b0cd9e30af40
parent1b6a3c17874ead7ee0957e67329aa3bd019fa129 (diff)
downloadopenembedded-core-contrib-e26bed8493d7b096740cd6fff2e72ab27d48a933.tar.gz
openembedded-core-contrib-e26bed8493d7b096740cd6fff2e72ab27d48a933.tar.bz2
openembedded-core-contrib-e26bed8493d7b096740cd6fff2e72ab27d48a933.zip
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. Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de> Signed-off-by: Ross Burton <ross.burton@intel.com>
-rw-r--r--meta/classes/buildhistory.bbclass2
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() {
# Produce installed package sizes list
oe-pkgdata-util -p ${PKGDATA_DIR} read-value "PKGSIZE" -n -f $pkgcache > $1/installed-package-sizes.tmp
- cat $1/installed-package-sizes.tmp | awk '{print $2 "\tKiB " $1}' | sort -n -r > $1/installed-package-sizes.txt
+ cat $1/installed-package-sizes.tmp | awk '{print $2 "\tKiB\t" $1}' | sort -n -r > $1/installed-package-sizes.txt
rm $1/installed-package-sizes.tmp
# We're now done with the cache, delete it