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:
@@ -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 = []
|
||||
|
||||
Reference in New Issue
Block a user