1. unify install.xml location

2. in ri_data.py, fix an error on Raid instance construction
3. in ri_func_dep.py, use common function ri_data.Group.get_install_pkgs()
4. in ri_install.py, add logic to config install.xml location
5. rename test.py to ri_main.py
6. in ri_main.py, add logic to set config.xml location
7. in ri_main.py, modify the way to get parameters.
This commit is contained in:
lizhi-rocky
2010-10-18 17:34:55 +08:00
parent 1dfb3e9cf7
commit 0c425d031d
6 changed files with 29 additions and 27 deletions

View File

@@ -7,13 +7,7 @@ class Pkg():
@staticmethod
def set_list ():
for i in ri_data.Group.dict.values():
if i.install != 'no':
Pkg.list += i.mandatory
if i.selection == 'all':
Pkg.list += [ j[0] for j in i.optional ]
else:
Pkg.list += [ j[0] for j in i.optional if j[1] == 'yes' ]
list = ri_data.Group.get_install_pkgs()
class FsType():
list = []