List Archive: gentoo-installer
Note: Due to technical difficulties, the Archives are currently not up to date.
provides an alternative service for most mailing lists.c.f. bug 424647
Around a week and a half ago, I apparently went insane and decided to rewrite
GLI in sh. The goal was to create something more like what the installer was
*supposed* to be. I've apparently succeeded. QuickStart is meant to be closer to
Kickstart or Jumpstart (do you see a pattern with the name? :P) than GLI or
other single user installers. GLI was meant to be like this originally, but
somehow (really, codeman and I are to blame) got off track and became an
installer for single users.
I've written all my code targetting ash using posix sh, so that it can be run
from a busybox environment, such as a netboot image. I've been doing most of my
testing with bash, but the 1 or 2 tests I've run with ash were successful.
Here's a list of what it currently does:
* Perform basic sanity checks of the config
* Runs a pre-install script
* Partitioning from a blank disk with a msdos disklabel (uses sfdisk)
* Creates md raid arrays
* Formats specified devices with specified filesystems
* Mounts specified devices at specified mountpoints with specified mountopts
* Mounts specified network shares at ... (see above :P)
* Fetch and unpack a stage3 tarball
* Install a portage tree (via sync, webrsync, or fetching/unpacking a tarball)
* Builds a kernel using genkernel with either a default or a custom config
* Installs logger/crond and adds to default runlevel
* Installs and configured selected bootloader (currently only grub)
* Installs extra packages
* Runs a post-install script
* Automatically run pre-/post-functions defined in the config (it's a sh file)
Here's what it currently doesn't do (automatically):
* Setup /etc/conf.d/net
* Setup /etc/fstab
* Setup /etc/make.conf
* Partition from an existing disk layout (and it never will)
* A bunch more things that I can't think of right now
The source is available via SVN at <https://agaffney.org/repos/quickstart/>. An
example configuration is available at
<https://agaffney.org/repos/quickstart/trunk/doc/profile_example.sh>. A current
snapshot of the repo is always available at
<http://agaffney.org/quickstart.tar.bz2> (the post-commit hook creates the
tarball). The repo also supports anonymous checkout.
Now, here's the part where you get to voice your opinions. What features would
you like to see in QuickStart? Keep in mind that anything "exotic" will probably
not be supported in an automatic fashion, since you can accomplish pretty much
*anything* with the pre-/post-hooks for each install step.
Andrew Gaffney http://dev.gentoo.org/~agaffney/
Gentoo Linux Developer Installer Project
Today's lesson in political correctness: "Go asphyxiate on a phallus"
firstname.lastname@example.org mailing list