/pkg/src/modules/actions/ |
H A D | directory.py | 75 def __create_directory(self, pkgplan, path, mode, **kwargs): 80 fmri=pkgplan.destination_fmri, **kwargs) 115 fmri=pkgplan.destination_fmri) 121 pkgplan.salvage(path) 129 def install(self, pkgplan, orig): 138 self.validate(fmri=pkgplan.destination_fmri) 141 owner, group = self.get_fsobj_uid_gid(pkgplan, 142 pkgplan.destination_fmri) 149 orig.validate(fmri=pkgplan.origin_fmri) 150 oowner, ogroup = orig.get_fsobj_uid_gid(pkgplan, [all...] |
H A D | file.py | 78 def preinstall(self, pkgplan, orig): 82 path = orig.get_installed_path(pkgplan.image.get_root()) 86 def preremove(self, pkgplan): 87 path = self.get_installed_path(pkgplan.image.get_root()) 102 def __set_data(self, pkgplan): 109 retrieved = pkgplan.image.imageplan._retrieved 111 pkgplan.image.get_root())) 121 pub = pkgplan.image.get_publisher( 122 pkgplan.destination_fmri.publisher) 123 data = pkgplan [all...] |
H A D | group.py | 63 def install(self, pkgplan, orig, retry=False): 73 root = pkgplan.image.get_root() 81 gr = GroupFile(pkgplan.image) 99 usernames = pkgplan.image.get_usernames_by_gid( 116 fmri=pkgplan.destination_fmri) 134 details=txt, fmri=pkgplan.destination_fmri) 135 img = pkgplan.image 145 def retry(self, pkgplan, orig): 146 groups = pkgplan.image._groups 149 self.install(pkgplan, ori [all...] |
H A D | hardlink.py | 66 def install(self, pkgplan, orig): 70 path = self.get_installed_path(pkgplan.image.get_root()) 73 self.fsobj_checkpath(pkgplan, path) 78 fmri=pkgplan.destination_fmri) 80 self.remove(pkgplan) 83 (pkgplan.image.get_root(), target))) 99 error=e, fmri=pkgplan.destination_fmri)
|
H A D | legacy.py | 59 def install(self, pkgplan, orig): 64 pkgdir = os.path.join(pkgplan.image.get_root(), "var/sadm/pkg", 74 pkg_summary = pkgplan.pkg_summary 80 "arch": pkgplan.image.get_arch(), 91 "version": str(pkgplan.destination_fmri.version), 115 open(os.path.join(pkgplan.image.get_root(), 163 def remove(self, pkgplan): 167 pkgdir = os.path.join(pkgplan.image.get_root(), "var/sadm/pkg",
|
H A D | link.py | 57 def install(self, pkgplan, orig): 61 path = self.get_installed_path(pkgplan.image.get_root()) 64 self.fsobj_checkpath(pkgplan, path) 69 fmri=pkgplan.destination_fmri) 74 self.remove(pkgplan) 100 def remove(self, pkgplan): 105 path = self.get_installed_path(pkgplan.image.get_root()) 106 return self.remove_fsobj(pkgplan, path)
|
H A D | license.py | 66 def preinstall(self, pkgplan, orig): 70 pkgplan.image.get_license_dir(pkgplan.destination_fmri), 72 pkgplan.image.get_root()) 74 def install(self, pkgplan, orig): 81 self.preinstall(pkgplan, orig) 85 path = self.get_installed_path(pkgplan.image.get_root()) 91 fmri=pkgplan.destination_fmri) 127 def needsdata(self, orig, pkgplan): 162 def remove(self, pkgplan) [all...] |
H A D | user.py | 129 def install(self, pkgplan, orig, retry=False): 143 self.readstate(pkgplan.image, username, lock=True) 145 self.attrs["gid"] = str(pkgplan.image.get_group_by_name( 196 details=txt, fmri=pkgplan.destination_fmri) 197 img = pkgplan.image 209 details=txt, fmri=pkgplan.destination_fmri) 215 def retry(self, pkgplan, orig): 216 users = pkgplan.image._users 219 self.install(pkgplan, orig, retry=True) 312 def remove(self, pkgplan) [all...] |
H A D | generic.py | 434 def different(self, other, pkgplan=None, cmp_policy=None): 474 if cmp_policy == CMP_UNSIGNED and not pkgplan: 480 elif pkgplan: 485 if pkgplan.image.cfg.get_policy_str( 845 def get_fsobj_uid_gid(self, pkgplan, fmri): 851 path = self.get_installed_path(pkgplan.image.get_root()) 859 owner = pkgplan.image.get_user_by_name(owner) 867 pd = pkgplan.image.imageplan.pd 901 group = pkgplan.image.get_group_by_name(group) 906 self.validate(fmri=pkgplan [all...] |
H A D | driver.py | 154 def install(self, pkgplan, orig): 155 image = pkgplan.image 911 def remove(self, pkgplan): 912 image = pkgplan.image
|
H A D | signature.py | 82 def needsdata(self, orig, pkgplan):
|
/pkg/src/modules/client/ |
H A D | plandesc.py | 50 import pkg.client.pkgplan namespace 81 pkg.client.pkgplan.PkgPlan, 152 "pkg_plans": [ pkg.client.pkgplan.PkgPlan ], 162 pkg.client.pkgplan.PkgPlan,
|
H A D | pkgplan.py | 368 pkgplan=self)
|
H A D | imageplan.py | 60 import pkg.client.pkgplan as pkgplan namespace 1157 pp = pkgplan.PkgPlan(self.image) 1510 pp = pkgplan.PkgPlan(self.image) 1959 # pkgplan will fail in signature verification. 1961 pp = pkgplan.PkgPlan(self.image) 2431 pp = pkgplan.PkgPlan(self.image) 2454 # appended for each action in this fixup pkgplan to 3683 pp = pkgplan.PkgPlan(self.image) 4381 # Construct a mapping from the install actions in a pkgplan t [all...] |
H A D | image.py | 58 import pkg.client.pkgplan as pkgplan namespace
|
/pkg/src/modules/ |
H A D | manifest.py | 202 self_exclude=EmptyI, pkgplan=None, cmp_policy=None): 216 # (such as pkgplan/imageplan). 256 if odict[i].different(sdict[i], pkgplan=pkgplan, 1964 self_exclude=EmptyI, pkgplan=None, cmp_policy=None): 1970 pkgplan=pkgplan, 1989 """Special class for pkgplan's need for a empty manifest; 1998 self_exclude=EmptyI, pkgplan=None, cmp_policy=None):
|
/pkg/src/modules/client/linkedimage/ |
H A D | common.py | 65 import pkg.client.pkgplan as pkgplan namespace 3658 if isinstance(obj, pkgplan.PkgPlan):
|