Searched refs:target (Results 1 - 25 of 41) sorted by relevance

12

/pkg/src/modules/actions/
H A Dhardlink.py49 """ return a path for target that is relative to image"""
51 target = self.attrs["target"]
55 # that all ".." are removed to constrain target to image
57 if target[0] != "/":
59 target = os.path.normpath(
60 os.path.join(os.path.split(path)[0], target))
62 target = os.path.normpath(target)[1:]
64 return target
[all...]
H A Dlink.py51 unique_attrs = "path", "target"
60 target = self.attrs["target"]
75 os.symlink(target, path)
82 target = self.attrs["target"]
94 if target != atarget:
97 expected=target))
137 raise_errors=False, required_attrs=("target",),
138 single_attrs=("target", "mediato
[all...]
/pkg/src/modules/flavor/
H A Dhardlink.py50 target = action.get_target_path()
51 return [HardlinkDependency(action, target, pkg_vars)]
/pkg/src/modules/bundle/
H A DDirectoryBundle.py130 # Find the relative path to the link target.
131 target = pkg.misc.relpath(self.inodes[inode],
134 path=pubpath, target=target)
137 target=os.readlink(path), path=pubpath)
H A DTarBundle.py72 target=tarinfo.linkname)
75 target=tarinfo.linkname)
H A DSolarisPackageDatastreamBundle.py166 target=mapline.target)
169 target=mapline.target)
H A DSolarisPackageDirBundle.py199 target=mapline.target)
202 target=mapline.target)
/pkg/src/
H A Dpull.py73 target = None variable
122 -d path_or_uri The filesystem path or URI of the target repository to
123 republish packages to. The target must already exist.
386 # Assume that a catalog doesn't exist for the target publisher,
399 dest_xport, temp_root, targ_pub, target
426 target = os.environ.get("PKG_DEST", None)
444 target = arg
499 if not list_newest and not target:
559 args = (pargs, target, list_newest, all_versions,
756 def archive_pkgs(pargs, target, list_newes
[all...]
H A Ddepot.py531 dconf = ds.DepotConfig(target=user_cfg, overrides=ivalues)
707 # Assume the configuration target was an SMF
710 svc_fmri = dconf.target
H A Dpkgrepo.py323 pub = "target"
327 # Configure target publisher.
1057 # Assume that a catalog doesn't exist for the target
1467 target = pub
1469 target = pub.repository
1470 if not target:
1471 target = publisher.Repository()
1472 pub.repository = target
1476 pval = getattr(target, attrname)
1479 # If the target propert
[all...]
/pkg/src/tests/api/
H A Dt_printengine.py65 t = threading.Thread(target=__drain, args=(masterf,))
H A Dt_async_rpc.py141 target=self.__server,
238 # vary how we kill the target
H A Dt_pkg_api_install.py1152 add link path=link target=dir
1158 add link path=dir/link target=file
1164 add hardlink path=hardlink target=file
1171 add hardlink path=dir/hardlink target=file
1218 def __write_empty_file(target, mode=misc.PKG_FILE_MODE, owner="root",
1220 f = open(target, "wb")
1223 os.chmod(target, mode)
1226 os.chown(target, owner, group)
1475 # Hard link target is missing (failure expected).
/pkg/src/modules/
H A Dsysvpkg.py91 (self.pathname, self.target) = array[3].split('=')
92 self.target = self.target.replace("$BASEDIR", basedir)
/pkg/src/tests/cli/
H A Dt_pkg_mediated.py52 add link path=/usr/sbin/newaliases target=../lib/sendmail
53 add link path=/usr/sbin/sendmail target=../lib/sendmail
59 add link path=/usr/bin/mailq target=../lib/sendmail-mta/mailq mediator=mta mediator-implementation=sendmail
60 add link path=/usr/lib/sendmail target=../lib/sendmail-mta/sendmail mediator=mta mediator-implementation=sendmail
61 add link path=/usr/sbin/newaliases target=../lib/sendmail-mta/sendmail mediator=mta mediator-implementation=sendmail
62 add link path=/usr/sbin/sendmail target=../lib/sendmail-mta/sendmail mediator=mta mediator-implementation=sendmail
68 add link path=/usr/bin/mailq target=../lib/sendmail-mta/mailq mediator=mta mediator-implementation=sendmail mediator-priority=vendor
69 add link path=/usr/lib/sendmail target=../lib/sendmail-mta/sendmail mediator=mta mediator-implementation=sendmail mediator-priority=vendor
70 add link path=/usr/sbin/newaliases target=../lib/sendmail-mta/sendmail mediator=mta mediator-implementation=sendmail mediator-priority=vendor
71 add link path=/usr/sbin/sendmail target
[all...]
H A Dt_pkgsend.py378 # depot server in readonly mode using the target repository.
535 link path=link-foo target=file-foo
536 hardlink path=hardlink-foo target=file-foo
539 link path=dir-foo/sublink-foo target=../file-foo
540 link path=dir-foo/subfilelink-foo target=subfile-foo
541 hardlink path=dir-foo/subhardlink-foo target=../file-foo
542 hardlink path=dir-foo/subfilehardlink-foo target=subfile-foo
546 link path=link-bar target=file-bar
547 hardlink path=hardlink-bar target=file-bar
550 link path=dir-bar/sublink-bar target
[all...]
H A Dt_pkg_hydrate.py48 add link path=dev/cfg/bar1.slink target=bar1
49 add hardlink path=usr/bin/vi target=../../dev/cfg/bar2 mediator=vi mediator-implementation=dev
58 add link path=dev/cfg/bar1.slink target=bar1
59 add hardlink path=usr/bin/vi target=../../dev/cfg/bar2 mediator=vi mediator-implementation=dev
65 add link path=dev/cfg/foo.slink target=foo
66 add hardlink path=dev/cfg/foo.hlink target=foo
77 add link path=etc/foo.slink target=foo
78 add hardlink path=usr/bin/vi target=../../etc/foo mediator=vi mediator-implementation=etc
83 add hardlink path=usr/bin/vi target=../../etc/foo mediator=vi mediator-implementation=etc
92 add link path=dba/foo.slink target
[all...]
/pkg/src/modules/lint/
H A Dengine.py1082 def follow_renames(self, pkg_name, target=None, old_mfs=[],
1084 """Given a package name, and an optional target pfmri that we
1093 If legacy is True, as well as checking that the target
1094 name was reached, we also look for the leaf-name of the target.
1100 # When doing legacy action checks, the leaf of the target pkg
1103 if legacy and target:
1104 leaf_name = target.get_name().split("/")[-1]
1106 leaf_mf = self.get_manifest(target.get_name(),
1148 target=target, old_mf
[all...]
H A Dpkglint_manifest.py696 def _merge_names(self, src, target, ignore_pubs=True):
697 """Merges the given src list into the target list"""
700 if p not in target:
701 target[p] = src[p]
705 targ_lst = target[p]
724 target[p] = targ_lst
H A Dpkglint_action.py336 key.startswith("target") or \
697 def _merge_dict(self, src, target, ignore_pubs=True):
698 """Merges the given src dictionary into the target
699 dictionary, giving us the target content as it would appear,
701 repositories that made up target.
704 version from the src dictionary into the target dictionary.
707 package with no version in the target."""
710 if p not in target:
711 target[p] = src[p]
725 targ_dic = build_dic(target[
[all...]
/pkg/src/util/publish/
H A Dpkgsurf.py30 # After determining the packages present in the target repo, pkgsurf tries to
34 # We then compare the target and ref manifest for content changes. Any
52 # target repo since certain package versions might not be available any longer.
64 # pkgsurf deletes and inserts manifests in place for the target repo. File data
131 The target repository has been modified but the operation did not finish
171 -s target_path Path to target repository. Repository should only
440 dups = 0 # target pkg has equal version to ref pkg
441 new_p = 0 # target pkg not in ref
472 # Pull the manifests for target and ref repo.
480 # Diff target an
[all...]
/pkg/src/modules/client/
H A Dpublisher.py1076 target = self.get_mirror(mirror)
1077 target.priority = mirror.priority
1078 target.ssl_cert = mirror.ssl_cert
1079 target.ssl_key = mirror.ssl_key
1080 target.proxies = mirror.proxies
1096 target = self.get_origin(origin)
1097 target.priority = origin.priority
1098 target.ssl_cert = origin.ssl_cert
1099 target.ssl_key = origin.ssl_key
1100 target
[all...]
H A Dimageconfig.py457 dafile = os.path.join(os.path.dirname(self.target), DA_FILE)
752 if os.path.exists(os.path.dirname(self.target)):
755 da_path = os.path.join(os.path.dirname(self.target),
1487 def target(self): member in class:BlendedConfig
1488 return self.img_cfg.target
/pkg/src/modules/server/
H A Ddepot.py2127 self.__thread = threading.Thread(target=self.run)
2148 configuration target (which is used as to retrieve and store
2151 'target' is the optional location to retrieve existing configuration
2162 on the target if supported. If a version cannot be determined, the
2226 def __new__(cls, target=None, overrides=misc.EmptyDict, version=None):
2227 if not target:
2230 elif target.startswith("svc:"):
2231 return cfg.SMFConfig(target, definitions=cls.__defs,
2233 return cfg.FileConfig(target, definitions=cls.__defs,
/pkg/src/util/apache2/depot/
H A Ddepot_index.py211 self.__thread = threading.Thread(target=self.run)
215 target=self.run_keep_busy)

Completed in 66 milliseconds

12