summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEudyptula <eitan@mosenkis.net>2009-07-15 19:42:53 -0400
committerEudyptula <eitan@mosenkis.net>2009-07-15 19:42:53 -0400
commit5634227db6e7264c908a582685770b88f6ba69e5 (patch)
tree7336adddf8f447a1ae927cfb8d2f691b4eefb121 /frontend/modules/gentoo/step4.php
parentAdded viewing of chosen options to status viewer (diff)
downloadingenue-5634227db6e7264c908a582685770b88f6ba69e5.tar.gz
ingenue-5634227db6e7264c908a582685770b88f6ba69e5.tar.bz2
ingenue-5634227db6e7264c908a582685770b88f6ba69e5.zip
Divided gentoo_portage backend into several parts; Added another config step to choose which options to offer next; Added timezone selection; Fixed pkglist script; Little fixes
Diffstat (limited to 'frontend/modules/gentoo/step4.php')
-rw-r--r--frontend/modules/gentoo/step4.php15
1 files changed, 15 insertions, 0 deletions
diff --git a/frontend/modules/gentoo/step4.php b/frontend/modules/gentoo/step4.php
new file mode 100644
index 0000000..b5edf91
--- /dev/null
+++ b/frontend/modules/gentoo/step4.php
@@ -0,0 +1,15 @@
+<?php
+$opts=explode(' ', $this->get_opt('options'));
+if (in_array('timezone', $opts))
+ $this->select('timezone', 'timezone', 'Timezone', get_timezones());
+// TODO This shouldn't be a step at all, it should be in wizard.php to choose between bundlers
+// TODO This shouldn't be part of configurations, except possibly a default value. It should be for builds
+$this->select('bundler', 'bundler', 'Image type', array(
+ 'tgz' => 'Tar/Gzip',
+ 'tbz2' => 'Tar/Bzip2',
+ 'installcd' => 'Installer CD with Tar/Bzip2',
+ 'livecd' => 'LiveCD',
+ 'ext2' => 'ext2',
+ 'jffs2' => 'jffs2'
+));
+?>