summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
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'
+));
+?>