summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEudyptula <eitan@mosenkis.net>2009-07-16 14:06:40 -0400
committerEudyptula <eitan@mosenkis.net>2009-07-16 14:06:40 -0400
commit96f81d7e198146a84dfcb3d9af8f51c3924173a6 (patch)
tree1fc8b8c12cbc1b0b8ebab900539621d6d3388aca /frontend/modules
parentDivided gentoo_portage backend into several parts; Added another config step ... (diff)
downloadingenue-96f81d7e198146a84dfcb3d9af8f51c3924173a6.tar.gz
ingenue-96f81d7e198146a84dfcb3d9af8f51c3924173a6.tar.bz2
ingenue-96f81d7e198146a84dfcb3d9af8f51c3924173a6.zip
Add dev-manager support to gentoo/portage modules
Diffstat (limited to 'frontend/modules')
-rw-r--r--frontend/modules/gentoo/step3.php2
-rw-r--r--frontend/modules/gentoo/step4.php2
2 files changed, 3 insertions, 1 deletions
diff --git a/frontend/modules/gentoo/step3.php b/frontend/modules/gentoo/step3.php
index a420a0f..ee0cb84 100644
--- a/frontend/modules/gentoo/step3.php
+++ b/frontend/modules/gentoo/step3.php
@@ -1,3 +1,3 @@
<?php
-$this->checkbox_array('options', 'options', null, array('timezone' => 'Select timezone'));
+$this->checkbox_array('options', 'options', null, array('timezone' => 'Select timezone', 'dev-manager' => 'Select /dev manager'));
?>
diff --git a/frontend/modules/gentoo/step4.php b/frontend/modules/gentoo/step4.php
index b5edf91..3eb3e1d 100644
--- a/frontend/modules/gentoo/step4.php
+++ b/frontend/modules/gentoo/step4.php
@@ -2,6 +2,8 @@
$opts=explode(' ', $this->get_opt('options'));
if (in_array('timezone', $opts))
$this->select('timezone', 'timezone', 'Timezone', get_timezones());
+if (in_array('dev-manager', $opts))
+ $this->select('dev-manager', 'dev-manager', '/dev Manager', array('udev' => 'udev', 'static-dev' => 'Static /dev'));
// 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(