modified: ri_dep.py

modified:   ri_oper.py
	modified:   ri_tk_cmd.py
	modified:   ../xml/interface.xml
    funcation and packages dependency not add InstallPkg of ri_oper
    modules
This commit is contained in:
fling
2010-11-20 11:09:06 +08:00
parent e26ea61ec2
commit 8267a1446f
4 changed files with 29 additions and 24 deletions

View File

@@ -191,13 +191,17 @@ class InstallPkg(Operation):
self.return_value[3]=("Software package doesn't exist",u"软件包不存在")
def get_stdin(self):
pkgname = ri_data.Group.get_install_pkgs() + ri_dep.extra_pkgs
pkgname = set(ri_data.Group.get_install_pkgs() + self.get_dependency_pkg())
self.steps += len(pkgname)
return '\n'.join(pkgname) + '\n'
return '\n'.join(pkgname)+'\n'
def get_arguments(self):
return ["-s","/Rocky/packages"]
def get_dependency_pkg(self):
ri_dep.dependency_init()
return ri_dep.dependency_init.dep_dict.keys() + ri_dep.dependency_init.func_dep_list
class ConfigureFstab(Mount):
"""class for configure /etc/fstab"""
def __init__(self,scr):