On Mon, Mar 04, 2019 at 01:22:16PM +0100, Mincho Kondarev wrote:
> Hello,
> I just want to report a successful installation of lfs 8.4 according book
> instructions, overall without problems. That is my second build after
> years. But now I am impressed of size of the base system.
> Just tool directory after competing chapter 5 and stripping reached 1,9 GB .
> The full system is 2GB excluding tool and source directories.
> For me that is too much for a base system. Is that build specific or the
> programs sizes are grown over the years?
> In comparison Debian  9.8  base install and base-devel tot up ca 900 MB.
> 
> With regards

I don't have a system with only the base LFS, the closest I can get
to that is my test server.  Looking at my first-stage backups (rsync
to my main server) the system without /tools (or /home or sources)
seems to be using about 2.0 GB.  That includes apache, links with
all the graphic libs so I can run links -g, nfs, ntp, postfix and a
variety of other packages.  But none of them are big.

But on that system, I saved /tools and it is only 839 MB.

I pass CFLAGS='-O2 -march=native' so that anything which uses my
CFLAGS will not include debug info.  Same for CXXFLAGS.

On that system I happen to still have the kernel source (not
included in the figures above) and the built kernel tree is 1.3 GB
for my config - probably includes extras like mdadm for testing plus
graphics drivers becasue that machine is usually built as a desktop
system.  On the machine where I'm writing this my kernel is still
based on a distro config, and only partially cleaned up (still about
2900 modules) - for that the kernel tree takes 2.2 GB.

In general, everything gets bigger over time.  Compilers grow to
cope with language changes and to fix bugs, and everything gets
more native language translations.  And LFS itself has now pulled
in several things which used to only be needed in BLFS, such as
elfutils, meson, ninja, python3, openssl.

If you logged what got installed, you can compare the sizes of each
package, and also note what is not present in one or other of LFS
and debian base.

On modern systems, the smallest available drive is probably around
100GB so using 2GB for the base system is neither here nor there.

ĸen
-- 
The beauty of reading a page of de Selby is that it leads one
inescapably to the conclusion that one is not, of all nincompoops,
the greates.            -- du Garbandier
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-chat
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to