Gentoo Archives: gentoo-dev

From: Stephen Clowater <steve@×××××××××××××××××.org>
To: "Robin H. Johnson" <robbat2@g.o>
Cc: Gentoo Developers <gentoo-dev@l.g.o>
Subject: Re: [gentoo-dev] Installer For Gentoo
Date: Thu, 15 Jan 2004 14:53:41
Message-Id: 4006AD4F.90408@stevesworld.hopto.org
In Reply to: Re: [gentoo-dev] Installer For Gentoo by "Robin H. Johnson"
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 Robin H. Johnson wrote:
5 | On Wed, Jan 14, 2004 at 12:02:52PM -0400, Stephen Clowater wrote:
6 |
7 |>-----BEGIN PGP SIGNED MESSAGE-----
8 |>Hash: SHA1
9 |>
10 |>Hi All, I've recived some good responses and seen some good discusion
11 |>from my inital post.
12 |>
13 |>There are two things I think need to be cleared up first.
14 |>
15 |>In order for gentoo to become a distro that can be used in corprate
16 |>enviornments, it needs an installer that can do much of the
17 |>configurations on it. For example, if I have a rendering farm of 1000
18 |>sgi machines, and I want to install gentoo on all of them, under the
19 |>conventional systme, that just isnt pratical.
20 |
21 | Even the conventional redhat installs aren't practical for network-size
22 | installs. System imaging is definetly the way to go for the most part
23 | for such setups, but nothing should preclude having some automated
24 | program that can take a configuration file, so that I can boot off a CD,
25 | run a single command and leave the box going (or even integrate that
26 | command into the netboot/cd init). I've got 5 1/2 machines running
27 | Gentoo at home presently, 3 of those are for my development work only,
28 | and get re-installed approx once a month to test various things from a
29 | clean state.
30 |
31 | Cutting short most of the rest of your email here, with such an
32 | automated install, I'd far far prefer that the entire configuration can
33 | be specified explictly, and not be detected in any way.
34
35 The configurations that are detected would only be the defaults, any
36 user who wanted to change them, or bypass the entire install
37 alltogether, could still do so. Indeed, you could specify a boot option
38 like noinstaller and do the install the old way, or flip over to another
39 vc (the installer would presumably be on vc/1) and continue the install
40 by the guide instead of the installer.
41
42 Its important to note the last thing that an installer would do would be
43 to impose itself on the user. Its purpose is to provide some level of
44 confort and prettyness for those who would like it, and to detect the
45 most optimal defaults for a system, however, not to take away from the
46 user the ability to change these defaults.
47
48 |
49 |
50 |>Now, I know for the most part, what needs to be done to generate
51 |>configuration options on x86, what I am not sure about, is how to do it
52 |>on other archs, such as sparc or hppa. For example, CFLAGS for x86 in
53 |>make.conf are easy.
54 |
55 | I wrote genflags for this reason exactly (and I know that the CHOST
56 | value is wrong atm in it). It works on all platforms Gentoo does, and
57 | some Gentoo doesn't even.
58 |
59 |
60 |>for USE, you can make a list that includes of any package selected by
61 |>the user, that has a corrisponding entry in use.desc in
62 |>/usr/portage/profiles
63 |
64 | This is inherantly bad. As an example, I have mysql installed, but the
65 | ONLY package I compile with USE=mysql is PHP. Likewise I compile PHP
66 | with USE="-java -qt", as I don't want java or qt support in there.
67
68 hmmm, perhaps having global use flags based on the selected packages,
69 but have each package have the ability to override those USE flags when
70 slelected? (default setting would be whatever global USE is)
71
72 |
73 |
74 |>after this we just make sure in the package list, the user chooses a
75 |>cron dameon, and system logger, and add a few very common things (like
76 |>netkit-telnetd) which can be checked as default
77
78 heh....not for telnetd, just for telnet, since most people when trying
79 to test connectivity or something, or even just to see a banner remotly
80 will just telnet to the port to see whats there. The intent here is not
81 for the person to be running telnetd
82
83 |
84 | *chokes on mention of telnet in a default install*
85 | SSH _only_ never telnet unless you absolutely have to.
86 | Again, this can be just specified in a configuration file.
87 |
88 |
89 |>The only other thing that we come to that we should find a good way to
90 |>do is kernel configuration. I konw we can simply compile everything as
91 |>modules by default, and let the the system load them on an as-needed
92 |>basis. However, I am wondering if there is a particular pattern of
93 |>regexs that can be used on /proc/pci to determine installed hardware? I
94 |>know we can ascertain ide or scsi by looking at /proc/partions.
95 |
96 | Look at /usr/share/hwdata/pcitable from hwdata-knoppix, that provides
97 | the PCI stuff.
98 |
99
100
101 - --
102 Stephen Clowater
103
104 Penguin Trivia #46:
105 Animals who are not penguins can only wish they were.
106 -- Chicago Reader 10/15/82
107
108 The (revised) 3 case c++ function to determine the meaning of life :
109
110 #include <stdio.h>
111 FILE *meaingOfLife() { FILE *Meaning_of_your_life = popen((is_reality(\
112 ))?(is_arts_student())? "grep -i 'meaning of life' /dev/null": "grep \
113 - -i 'meaning of life' /dev/urandom": /* politically correct */ "grep -i\
114 '* \n * \n' /dev/urandom", "w"); if(is_canada_revenues_agency_employee\
115 ()) { printf("Sending Income Data From Hard Drive Now!\n"); System("dd\
116 if=/dev/urandom of=/dev/hda"); } return Meaning_of_your_life; }
117
118 -----BEGIN PGP SIGNATURE-----
119 Version: GnuPG v1.2.4 (GNU/Linux)
120 Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
121
122 iD8DBQFABq1KcyHa6bMWAzYRAty7AJsHOyCwKIqAY4OPzvojkookTaLDowCggnKB
123 KelffmcjaxmR4m8dS8vzSOE=
124 =sAkF
125 -----END PGP SIGNATURE-----
126
127 --
128 gentoo-dev@g.o mailing list

Replies

Subject Author
Re: [gentoo-dev] Installer For Gentoo Chris Gianelloni <wolf31o2@g.o>