1 |
Around a week and a half ago, I apparently went insane and decided to rewrite |
2 |
GLI in sh. The goal was to create something more like what the installer was |
3 |
*supposed* to be. I've apparently succeeded. QuickStart is meant to be closer to |
4 |
Kickstart or Jumpstart (do you see a pattern with the name? :P) than GLI or |
5 |
other single user installers. GLI was meant to be like this originally, but |
6 |
somehow (really, codeman and I are to blame) got off track and became an |
7 |
installer for single users. |
8 |
|
9 |
I've written all my code targetting ash using posix sh, so that it can be run |
10 |
from a busybox environment, such as a netboot image. I've been doing most of my |
11 |
testing with bash, but the 1 or 2 tests I've run with ash were successful. |
12 |
|
13 |
Here's a list of what it currently does: |
14 |
|
15 |
* Perform basic sanity checks of the config |
16 |
* Runs a pre-install script |
17 |
* Partitioning from a blank disk with a msdos disklabel (uses sfdisk) |
18 |
* Creates md raid arrays |
19 |
* Formats specified devices with specified filesystems |
20 |
* Mounts specified devices at specified mountpoints with specified mountopts |
21 |
* Mounts specified network shares at ... (see above :P) |
22 |
* Fetch and unpack a stage3 tarball |
23 |
* Install a portage tree (via sync, webrsync, or fetching/unpacking a tarball) |
24 |
* Builds a kernel using genkernel with either a default or a custom config |
25 |
* Installs logger/crond and adds to default runlevel |
26 |
* Installs and configured selected bootloader (currently only grub) |
27 |
* Installs extra packages |
28 |
* Runs a post-install script |
29 |
* Automatically run pre-/post-functions defined in the config (it's a sh file) |
30 |
|
31 |
Here's what it currently doesn't do (automatically): |
32 |
|
33 |
* Setup /etc/conf.d/net |
34 |
* Setup /etc/fstab |
35 |
* Setup /etc/make.conf |
36 |
* Partition from an existing disk layout (and it never will) |
37 |
* A bunch more things that I can't think of right now |
38 |
|
39 |
The source is available via SVN at <https://agaffney.org/repos/quickstart/>. An |
40 |
example configuration is available at |
41 |
<https://agaffney.org/repos/quickstart/trunk/doc/profile_example.sh>. A current |
42 |
snapshot of the repo is always available at |
43 |
<http://agaffney.org/quickstart.tar.bz2> (the post-commit hook creates the |
44 |
tarball). The repo also supports anonymous checkout. |
45 |
|
46 |
Now, here's the part where you get to voice your opinions. What features would |
47 |
you like to see in QuickStart? Keep in mind that anything "exotic" will probably |
48 |
not be supported in an automatic fashion, since you can accomplish pretty much |
49 |
*anything* with the pre-/post-hooks for each install step. |
50 |
|
51 |
-- |
52 |
Andrew Gaffney http://dev.gentoo.org/~agaffney/ |
53 |
Gentoo Linux Developer Installer Project |
54 |
Today's lesson in political correctness: "Go asphyxiate on a phallus" |
55 |
|
56 |
-- |
57 |
gentoo-installer@g.o mailing list |