Searched refs:pkgplan (Results 1 - 17 of 17) sorted by relevance

/pkg/src/modules/actions/
H A Ddirectory.py75 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 Dfile.py78 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 Dgroup.py63 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 Dhardlink.py66 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 Dlegacy.py59 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 Dlink.py57 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 Dlicense.py66 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 Duser.py129 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 Dgeneric.py434 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 Ddriver.py154 def install(self, pkgplan, orig):
155 image = pkgplan.image
911 def remove(self, pkgplan):
912 image = pkgplan.image
H A Dsignature.py82 def needsdata(self, orig, pkgplan):
/pkg/src/modules/client/
H A Dplandesc.py50 import pkg.client.pkgplan namespace
81 pkg.client.pkgplan.PkgPlan,
152 "pkg_plans": [ pkg.client.pkgplan.PkgPlan ],
162 pkg.client.pkgplan.PkgPlan,
H A Dpkgplan.py368 pkgplan=self)
H A Dimageplan.py60 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 Dimage.py58 import pkg.client.pkgplan as pkgplan namespace
/pkg/src/modules/
H A Dmanifest.py202 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 Dcommon.py65 import pkg.client.pkgplan as pkgplan namespace
3658 if isinstance(obj, pkgplan.PkgPlan):

Completed in 168 milliseconds