On 8/3/07, Randy McMurchy <[EMAIL PROTECTED]> wrote:
> Ag. D. Hatzimanikas wrote these words on 08/03/07 14:28 CST:
>
> > Sorry I wasn't clear. I was asking about the tarball size. Should we
> > count it also into the build size?
>
> No, we haven't been. However, there always seems to be some that think
> we should and some that think we shouldn't.
I've been confused by this at various times in the past, but here's
approximately how I compute things now (and I haven't been scolded in
a while :).
$ wget tarball.tar.bz2
$ du -b tarball.tar.bz2 | awk '{print "size: " $1/1024 " KB"}'
$ start=$(du -bs . | cut -f1)
$ tar -xf tarball.tar.bz2
$ ( cd tarball && do stuff && make DESTDIR=`pwd`/dest install )
$ end=$(du -bs . | cut -f1)
$ echo $end $start | awk '{print "build size: " ($1 - $2)/1024 " KB"}'
Converting to MB as necessary.
--
Dan
--
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page