diff options
author | mikem <mikem> | 2004-05-07 17:26:25 +0000 |
---|---|---|
committer | mikem <mikem> | 2004-05-07 17:26:25 +0000 |
commit | 94a08d6fb48aaa99ea11da85ef2272f4851d839c (patch) | |
tree | 9e243bc4ea17635ca3eaf64c0680b4e1fa7aec9a /instdata.py | |
parent | e8ef4dba3c9c0b83148676f83218ade89dd59cfe (diff) | |
download | anaconda-94a08d6fb48aaa99ea11da85ef2272f4851d839c.tar.gz anaconda-94a08d6fb48aaa99ea11da85ef2272f4851d839c.tar.xz anaconda-94a08d6fb48aaa99ea11da85ef2272f4851d839c.zip |
allow excludedocs installs via ks or cmdline option
Diffstat (limited to 'instdata.py')
-rw-r--r-- | instdata.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/instdata.py b/instdata.py index 0d9e9b7fa..7b87548f9 100644 --- a/instdata.py +++ b/instdata.py @@ -265,6 +265,15 @@ class InstallData: self.extraModules = extraModules self.floppyDevice = floppyDevice self.fsset = fsset.FileSystemSet() + self.excludeDocs = 0 + try: + f = open("/proc/cmdline") + line = f.readline() + if line.find(" excludedocs") != -1: + self.excludeDocs = 1 + close(f) + except: + pass # FIXME: this is a major hack to get the comps package installed self.compspkg = None |