summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEudyptula <eitan@mosenkis.net>2009-08-05 16:38:03 -0400
committerEudyptula <eitan@mosenkis.net>2009-08-05 16:38:03 -0400
commit486f88683d5bce71686fd584d2e0878fa063771f (patch)
tree2978fe7debe81fc36715917619c8911ae1a9b5ef
parentStarted backend script to copy portage tree into image and configure portage (diff)
downloadingenue-486f88683d5bce71686fd584d2e0878fa063771f.tar.gz
ingenue-486f88683d5bce71686fd584d2e0878fa063771f.tar.bz2
ingenue-486f88683d5bce71686fd584d2e0878fa063771f.zip
Added more package sets, created status document from Gentoo install guide, updated todo
-rw-r--r--gentoo-steps29
-rw-r--r--gentoo_pkgsets.csv4
-rw-r--r--steps25
-rw-r--r--todo4
-rwxr-xr-xupdate_gentoo_profiles.php2
5 files changed, 36 insertions, 28 deletions
diff --git a/gentoo-steps b/gentoo-steps
new file mode 100644
index 0000000..e10e379
--- /dev/null
+++ b/gentoo-steps
@@ -0,0 +1,29 @@
+*=unimplemented; #*=no intention to implement; ?*=not sure whether to implement; X*=don't know how to implement
+X*Set the date
+Install a stage tarball
+Install a portage snapshot (from host sytem - support tarball snapshots?)
+*Set up make.conf
+?*Mirror selection
+Profile selection
+*Locale selection (selected from /usr/share/i18n/SUPPORTED)
+X*Locale generation
+Timezone selection
+Kernel source installation (pkgset)
+#*Kernel configuration
+X*Kernel compilation
+#*Kernel module config
+#*Fstab generation
+*/etc/conf.d/hostname
+#*/etc/conf.d/net
+#*/etc/hosts
+X*set root password
+?*/etc/rc.conf
+*/etc/conf.d/clock (just reuse choice of /etc/localtime symlink)
+Syslogger (pkgset)
+Cron daemon (pkgset)
+?*File indexing (package set with just slocate in it?)
+File system tools (pkgset)
+Networking tools (pkgset)
+Emerge bootloaders (pkgset)
+X*Configure and install bootloaders
+X*Add non-root user(s) and set password(s)
diff --git a/gentoo_pkgsets.csv b/gentoo_pkgsets.csv
index 34d506a..035a46b 100644
--- a/gentoo_pkgsets.csv
+++ b/gentoo_pkgsets.csv
@@ -3,5 +3,7 @@ FTP Servers pure-ftpd proftpd oftpd vsftpd
Cron Daemons vixie-cron dcron fcron anacron
Loggers logrotate syslog-ng rsyslog sysklogd metalog
Filesystem Tools xfsprogs reiserfsprogs jfsutils
-DHCP Clients dhcpcd dhclient pump
+Networking Tools dhcpcd dhclient pump ppp
Desktop Environments gnome kde gnome-light blackbox fluxbox openbox enlightenment
+Bootloaders grub grub-static lilo aboot arcboot arcload colo cromwell cromwell-bin elilo mbr-gpt milo netboot nettrom palo quik raincoat silo sysload yaboot yaboot-static
+Kernel Source gentoo-sources genkernel vanilla-sources ccs-sources cell-sources hardened-sources mips-sources mm-sources openvz-sources sh-sources sparc-sources tuxonice-sources usermode-sources vserver-sources xbox-sources xen-sources
diff --git a/steps b/steps
deleted file mode 100644
index 17330e7..0000000
--- a/steps
+++ /dev/null
@@ -1,25 +0,0 @@
-alias tmerge=PORTAGE_CONFIGROOT=CONF_ROOT ROOT=/root/target/image emerge -K (don't actually alias, just set env vars and use EMERGE_DEFAULT_OPTS=-K in make.conf)
-
-
-generate a fake CONF_ROOT with /etc/make.profile (linked based on target arch) and /etc/make.conf (generated)
- make.conf:
- PKGDIR=...
- CFLAGS=?
- CXXFLAGS=?
- CHOST=...
- MAKEOPTS=?
- EMERGE_LOG_DIR=... (same as PORT_LOGDIR)
- PORT_LOGDIR=... (create me)
- PORT_TMPDIR=... (create me)
- FEATURES=ccache?
-tmerge -p system (check that it doesn't mention unavailable packages) # Possibly merge with
-tmerge system
-ln -s /usr/portage/profiles/x /etc/make.profile
-tar -zxvf portage-snapshot (or is this just a cp of /usr/portage or something?)
-generate a new make.conf without PORT_LOGDIR, PKGDIR, etc.
-Install user-selected packages
-ln -s /usr/share/zoneinfo/x /etc/localtime (optional)
-uninstall toolchain and portage (other unwanted stuff too)
- TIP: To unmerge portage, use equery files portage and delete all files and non-empty directories (will have to emerge gentoolkit, then unmerge it once we have the uninstall list for portage)
-Package everything - tar/gz or tar/bz2 or one of those and then throw it on an ISO image
-Notify the user their build is ready
diff --git a/todo b/todo
index 75d9e7e..ee11830 100644
--- a/todo
+++ b/todo
@@ -8,9 +8,11 @@ Add `flags` column to configurations, builds, use it to implement public and pri
Add 'cancel', option to builds, allow deletion of currently running builds
Add build->configuration and configuration duplication
Add map file for liveCD, load it into DB, etc.
+Add gentoo_profileopts column for liveCD, stage3, etc.
Write script for fetching latest stage3's from the desired FTP dirs
Add ability to trim the stage3 to a minimum set of packages automatically (cached)
Add option to add arbitrary runscripts
Add option to upload a kernel
Add option to upload an arbitrary tar.gz/bz2 to be unzipped over the finished image
-*** Go through Gentoo install guide and make sure everything is covered ***
+*** Implement selected items from install-steps ***
+*** Documentation
diff --git a/update_gentoo_profiles.php b/update_gentoo_profiles.php
index 3f3cb3f..e15e895 100755
--- a/update_gentoo_profiles.php
+++ b/update_gentoo_profiles.php
@@ -1,7 +1,7 @@
#!/usr/bin/php
<?php
require_once(dirname(__FILE__).'/shared/include/includes.php'); // USE __DIR__ in 5.3.0
-require_once(SHARED.'/config.php');
+$S['conf']['debug']=false;
require_once(SHARED.'/include/dbinit.php');
$profiles=array();
$r=query('SELECT * FROM `gentoo_profiles`'.(isset($argv[1])?' WHERE `name` LIKE "%'.$argv[1].'%" OR `pkgdir` LIKE "%'.$argv[1].'%"':''));