Commit graph

19 commits

Author SHA1 Message Date
Pierre Labastie
03b24b2a45 Various fixes for create-sbu_du-report.sh
- Check that there is enough material to calculate a SBU (!)
- Prevent an error if REALSBU does not occur in jhalfs.config
- Remove double square bracket: they change semantics and
  I cannot memorize what the change is (but e.g. file* is not
  expanded even if there is some filexxx in the dir).
2022-02-19 15:08:37 +01:00
Pierre Labastie
0f3b1c317c create-sbu_du-report.sh: check that J_VALUE is never empty 2022-02-17 23:53:51 +01:00
Pierre Labastie
fd4a7982f2 Remove $Id$ comments, they are useless with git 2021-10-31 10:22:30 +01:00
Pierre Labastie
e68c306380 Add the -j value to the sbu report 2021-08-28 22:50:40 +02:00
Pierre Labastie
e4b7aa8206 Replace "cat /proc/cpuinfo" with "lscpu" in the sub-du report: cpuinfo gets
too big with several cores
2020-06-19 06:51:10 +00:00
Pierre Labastie
b217a303e4 Fix sbu-du calculations for the new numbering 2020-06-11 13:59:59 +00:00
Pierre Labastie
3b14992061 Fix "installed files size" for the last package:
In create-sbu_du.sh, we use "du -s" for getting the size of the installed
files at the end of the build, and we compare to the "KB" from the previous
package to get the Installed size of the last package. But the du command
excludes an absolute dir, while it should be relative. This lead to bogus
stats.
2019-07-15 20:00:32 +00:00
Pierre Labastie
9bbb9c83f3 Package management: compute times and sizes without packing times and sizes 2017-07-04 12:19:46 +00:00
Pierre Labastie
c57747dba5 Make the date of the SBU_DU file the same as the one reported at the end of
the jhalfs run. Note that date is the one when the run is started
2017-06-29 16:45:31 +00:00
Pierre Labastie
7d109d45f2 Fix bug #1687 2013-03-21 11:02:48 +00:00
Pierre Labastie
125e05ec13 Update create-sbu-report so that it works with CLFS
and that it prints the last "Installed file size"
2012-02-28 13:20:40 +00:00
Manuel Canales Esparcia
68713c9186 Dump build time using Bash $SECONDS internal variable instead of using date calls + Perl-based calculations. 2007-08-17 16:24:47 +00:00
Manuel Canales Esparcia
02100141e4 Replaced "time" and "du" by "perl" fot timming and SBU-DU report calculations.
Thanks to Dan Nicholson and Ag. D. Hatzimanikas for the sugestions and patches.
2007-05-26 21:16:18 +00:00
Manuel Canales Esparcia
10c8b78425 More compare and related fixes.
Test build in progress.
2006-12-05 15:25:00 +00:00
Manuel Canales Esparcia
045b2dc1ce Merged r3043:3145 from experimental:
New Makefile code and other improvements.
2006-10-02 19:32:06 +00:00
Jeremy Huntwork
26d25e8437 Fix some typos 2006-05-03 04:17:38 +00:00
Manuel Canales Esparcia
d9a53e03ac Typo fixes. 2006-04-27 20:27:21 +00:00
Manuel Canales Esparcia
a9429d5ef1 Added jhalfs configuration settings to the sbu_du report header. 2006-04-27 20:15:07 +00:00
Manuel Canales Esparcia
9ea3d54a4f Added a script to calculate SBUs and disk usage. 2006-04-25 20:29:58 +00:00