From: Mikko Rapeli Date: Wed, 1 Mar 2017 09:08:47 +0000 (+0200) Subject: buildhistory.bbclass: use tabs as separator in installed-package-sizes.txt X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~22214 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e26bed8493d7b096740cd6fff2e72ab27d48a933;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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 Signed-off-by: Ross Burton --- diff --git a/meta/classes/buildhistory.bbclass b/meta/classes/buildhistory.bbclass index 7251a2c351d..ee6addd1b10 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