Package sizes.

Matthew Burgess matthew at linuxfromscratch.org
Fri Aug 6 14:57:57 PDT 2004


On Fri, 06 Aug 2004 16:42:46 -0500
Randy McMurchy <randy at linuxfromscratch.org> wrote:

> Bryan Kadzban wrote:
> > Ronald Hummelink wrote:
> > 
> >> The moment you upgrade a package is
> >> a) prior to any release =)
> >> b) the natural time to do it. it alleviates a pile of work to be
> >done> at release, and thus gets rid of stress and possible problems.
> >>
> >> R
> >>
> > 
> > But if you do it every time you upgrade a package, you'll have to do
> > it 4-5 times per package between releases (yes, this will vary
> > depending on the packages), instead of once per package right before
> > the release.
> > 
> > Laziness?  Maybe.  But why recalculate the size 5 times when you
> > only need to do it once?  Unless doing the size calculation is a LOT
> > easier than I think it is...
> 
> Two things.
> 
> One, calculating the *build* size is easy. And two, we weren't even
> discussing the *build* size, we were talking about the size of the
> downloaded file, which is an absolute no-brainer. :-)

Indeed - and even if you're incredibally lazy (like me!) then this
should do it:

`du $package-$version.tar.$ext | cut -f1`

Build sizes *must* be updated before a release, but *can* be updated any
time in between of course :)

Cheers,

Matt.



More information about the lfs-dev mailing list