#1694: Measured times and sizes include packaging, when package management is in
effect
--------------------+-----------------------
Reporter: pierre | Owner: pierre
Type: defect | Status: assigned
Priority: normal | Milestone: 3.0
Component: jhalfs | Version: SVN
Severity: normal | Resolution:
Keywords: |
--------------------+-----------------------
Comment (by pierre):
4 months later, had some time to think a little more:
- for SBUs: From '''man bash''' about the '' SECONDS'' variable:
{{{
Each time this parameter is referenced, the number of seconds
since shell invocation is returned. If a value is assigned to
SECONDS, the value returned upon subsequent references is the
number of seconds since the assignment plus the value assigned.
}}}
so it is possible to have something like:
{{{
PREV_SEC=$SECONDS
PackInstall
SECONDS=$PREV_SEC
}}}
and the packing time is not counted.
- for Sizes: just exclude '' /var/lib'' from '''du''' commands
--
Ticket URL: <http://wiki.linuxfromscratch.org/alfs/ticket/1694#comment:12>
ALFS Trac <http://wiki.linuxfromscratch.org/alfs/>
Automated Linux From Scratch
--
http://lists.linuxfromscratch.org/listinfo/alfs-log
Unsubscribe: See the above information page