summaryrefslogtreecommitdiffstats
path: root/anaconda
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>1999-09-18 20:55:19 +0000
committerMatt Wilson <msw@redhat.com>1999-09-18 20:55:19 +0000
commit0ae499b5f317bfd837640c65a2ed10374b8e6423 (patch)
tree0798750a1fd0a468f80da35e65f66a1a07b591ba /anaconda
parentfd7e2327092b4bc5da4b7004c60c37e2444742ed (diff)
downloadanaconda-0ae499b5f317bfd837640c65a2ed10374b8e6423.tar.gz
anaconda-0ae499b5f317bfd837640c65a2ed10374b8e6423.tar.xz
anaconda-0ae499b5f317bfd837640c65a2ed10374b8e6423.zip
added --module argument
Diffstat (limited to 'anaconda')
-rwxr-xr-xanaconda9
1 files changed, 7 insertions, 2 deletions
diff --git a/anaconda b/anaconda
index 9c1fa3a9c..c6e643d48 100755
--- a/anaconda
+++ b/anaconda
@@ -20,7 +20,7 @@ _ = gettext.gettext
(args, extra) = isys.getopt(sys.argv[1:], 'GTtdr:fm:',
[ 'gui', 'text', 'test', 'debug', 'method=', 'rootpath=',
'testpath=', 'mountfs', 'traceonly', 'kickstart=',
- 'lang=', 'keymap=', 'kbdtype=',
+ 'lang=', 'keymap=', 'kbdtype=', 'module=',
'expert'])
# remove the arguments - gnome_init doesn't understand them
@@ -44,6 +44,7 @@ expert = 0
lang = None
keymap = None
kbdtpye = None
+extraModules = []
for n in args:
(str, arg) = n
@@ -54,6 +55,9 @@ for n in args:
mode = 't'
elif (str == '-t' or str == '--test'):
test = 1
+ elif (str == '--module'):
+ (path, subdir, name) = string.split(arg, ":")
+ extraModules.append((path, subdir, name))
elif (str == '-m' or str == '--method'):
method = arg
elif (str == '-d' or str == '--debug'):
@@ -205,7 +209,8 @@ if keymap:
try:
todo = ToDo(intf, method, rootPath, installSystem = installPackages,
setupFilesystems = setupFilesystems, mouse = mouseInfo,
- instClass = instClass, x = x, expert = expert)
+ instClass = instClass, x = x, expert = expert,
+ extraModules = extraModules)
intf.run(todo, test = test)
except:
(type, value, tb) = sys.exc_info()