[ALFS Trac] #1694: Measured times and sizes include packaging, when package management is in effect

ALFS Trac trac at linuxfromscratch.org
Sat Mar 18 01:56:29 PDT 2017


#1694: Measured times and sizes include packaging, when package management is in
effect
--------------------+-----------------------
 Reporter:  pierre  |       Owner:  pierre
     Type:  defect  |      Status:  assigned
 Priority:  normal  |   Milestone:  2.4
Component:  jhalfs  |     Version:  SVN
 Severity:  normal  |  Resolution:
 Keywords:          |
--------------------+-----------------------

Comment (by pierre):

 For SBU, It is easy to output the "Totalseconds: ..." before packing and
 after install.

 For sizes, it is more complicated: right now, the Makefile outputs "KB:
 ..." before unpacking the tarball, and another "KB: ..." after the script
 exits. The computation is done in the following way:
 Required space : KB after - KB before
 Installed size : KB before next script - KB before this script.

 We can of course keep the same protocol for "KB before", and get a value
 of "KB after" by outputting after install and before packing. Problem is
 the installed size. The next "KB before" will include both installed size
 and the size of the package binary (.deb or .tar.gz).

 We can get the installed size from "du -sk $PKG_DEST", but then we would
 have to change the create-SBU_du-report.sh script, depending on whether we
 use package management or not...

 Furthermore, when we later want to include porg style, it'll break again.

--
Ticket URL: <http://wiki.linuxfromscratch.org/alfs/ticket/1694#comment:4>
ALFS Trac <http://wiki.linuxfromscratch.org/alfs/>
Automated Linux From Scratch


More information about the alfs-log mailing list