On 09/06/14 08:41, Patrick Lauer wrote:
On Friday 05 September 2014 12:34:11 William Hubbs wrote:
All,
there is a bug open requesting that we add sys-apps/iproute2 to the
system set [1]. Originally the request was to drop net-tools, but it has
become just adding iproute2.
I wouldn't mind either option - net-tools has been deprecated for a decade,
but if we still ship it as default it will be used.
Some people seem to think that stage3 is bloated - last time I looked at it
there was lots of really-not-needed stuff like two python interpreters. If you
want to de-bloat work on that, the extra 150kB or whatever of iproute2 are so
small that it's barely noticeable.
I'm not sure we can get rid of python2 and have only python3, but if
that's possible, absolutely punt it! The bloat I'm talking about
includes size, but more importantly, I'm concerned about cpu time. When
building on a minor arch where your CPU speed is 600 MHz and you only
have 256MB of ram (and lots of slow swap to help for monsters like
gcc-4.8), you feel the bloat in days of waiting.
And by the same reasoning of "bloat" we should remove openssh ( and maybe even
rsync ;) ) because it's not strictly needed - so maybe we want a "minimal" and
a "useful" stage3 ?
This begs the question "useful for what"? We have competing criteria.
So one criterion is "a final stage in a catalyst run which can seed the
next round" and the other is "a stage from which any gentoo system can
be built." Both depend on the environment in which you are building,
eg. if you unpack a stage3 onto a partition, reboot, and then expect to
be able to rsync portage, then you need rsync in there, and maybe some
other stuff like wget or curl. Alternatively, I could build up my system
in a chroot in which I bind mount /usr/portage from the host, the way
catalyst does -- its a bit more complicated than that but you get the
idea. Then I don't need rsync.
So yeah, there is a slippery slope here, but having two packages that
achieve the same purpose is overstepping. The better analogy would be
having openssh and dropbear and then saying that the latter is only
150kB, so let's just add it.
Have fun,
Patrick
--
Anthony G. Basile, Ph.D.
Gentoo Linux Developer [Hardened]
E-Mail : bluen...@gentoo.org
GnuPG FP : 1FED FAD9 D82C 52A5 3BAB DC79 9384 FA6E F52D 4BBA
GnuPG ID : F52D4BBA