cookutils rev 573 3.1
cook: limit log size
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jan 27 09:52:16 2013 +0100 (2013-01-27) |
parents | c46de2f71ce0 |
children | 226ecb78a236 |
files | cook |
line diff
1.1 --- a/cook Thu Jan 24 14:20:45 2013 +0000 1.2 +++ b/cook Sun Jan 27 09:52:16 2013 +0100 1.3 @@ -1343,10 +1343,10 @@ 1.4 done 1.5 1.6 # Cook and pack or exit on error and log everything. 1.7 - cookit $@ 2>&1 | tee $LOGS/$pkg.log 1.8 + cookit $@ 2>&1 | dd bs=1024k count=50 | tee $LOGS/$pkg.log 1.9 remove_deps | tee -a $LOGS/$pkg.log 1.10 cookit_quality 1.11 - packit 2>&1 | tee -a $LOGS/$pkg.log 1.12 + packit 2>&1 | dd bs=1024k count=5 |tee -a $LOGS/$pkg.log 1.13 clean_log 1.14 1.15 # Exit if any error in packing.