Small debian based server distribution
Nadav Har'El
nyh at math.technion.ac.il
Wed Oct 27 21:52:57 IST 2010
On Wed, Oct 27, 2010, Nadav Har'El wrote about "Re: Small debian based server distribution":
> Actually, those things *were* done, because if I remember correctly (this
> was years ago, and I can't find the code now...) I used "rpm --root" to
I just found the code - it was from 2000 ;-)
I see now that my script first searched for the appropriate (i.e., most
recently updated) version of each rpm - because this was before the advent
of yum and yum repositories. Then it built the system with rpm --root $TMPDIR.
It then had an option to exclude various types of files and directories
(e.g., /usr/share/man can be removed), and other cleanups (e.g., strip
binaries - especially shared libraries, shorten termcap file, etc.).
I also remove the RPM database because I didn't need it in the resulting
system.
Again, writing such a script took me a couple of days, but running it -
something which I later did many times - took minutes. The beauty of Unix
scripting.
I wonder if, like the original poster asked, a similar tool for creating
Ubunto (or Fedora, or whatever) based distributions, exists.
--
Nadav Har'El | Wednesday, Oct 27 2010, 20 Heshvan 5771
nyh at math.technion.ac.il |-----------------------------------------
Phone +972-523-790466, ICQ 13349191 |Help Wanted: Telepath. You know where to
http://nadav.harel.org.il |apply.
More information about the Linux-il
mailing list