[gnome-continuous-yocto/gnomeostree-3.28-rocko: 4951/8267] buildhistory.bbclass: use tabs as separator in installed-package-sizes.txt



commit f1475ed5826cefeff13ad14e19d476acc6f63355
Author: Mikko Rapeli <mikko rapeli bmw de>
Date:   Wed Mar 1 11:08:47 2017 +0200

    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>

 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 7251a2c..ee6addd 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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]