From 96f81d7e198146a84dfcb3d9af8f51c3924173a6 Mon Sep 17 00:00:00 2001 From: Eudyptula Date: Thu, 16 Jul 2009 14:06:40 -0400 Subject: Add dev-manager support to gentoo/portage modules --- frontend/modules/gentoo/step3.php | 2 +- frontend/modules/gentoo/step4.php | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'frontend/modules') 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 @@ 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( -- cgit v1.2.3-65-gdbad