Searched defs:image (Results 1 - 10 of 10) sorted by relevance

/pkg/src/modules/
H A Daltroot.py71 # Functions for accessing files in an alternate image
380 managed image can be found at 'root'. If 'root' does point to a
381 pkg(7) image, then we return the relative path to the image metadata
384 import pkg.client.image as image namespace
389 if ar_isdir(root, image.img_user_prefix):
392 if ar_isdir(root, image.img_root_prefix):
397 # why would an image have two pkg metadata directories.
398 # is this image corrup
[all...]
/pkg/src/tests/api/
H A Dt_altroot.py39 import pkg.client.image as image namespace
56 "image{0:d}".format(i))
59 # image path
62 # image files and directories
78 # first assign paths. we'll use the image paths even
86 # simulate a user image
88 os.path.join(r, image.img_user_prefix))
90 # simulate a root image
92 os.path.join(r, image
[all...]
H A Dt_plat.py37 import pkg.client.image as image namespace
88 # create an image, copy an executable into it,
91 img1 = image.Image(tdir1, imgtype=image.IMG_USER,
131 # create an image, copy an executable into it,
134 img1 = image.Image(tdir1, imgtype=image.IMG_USER,
/pkg/src/modules/portable/
H A Dos_windows.py123 # within the image containing the file. A single image is assumed to be
129 # done on an image. The image module cannot be imported when this module is
135 # cached_image_info is a list of tuples (image root, image trash directory) for
138 # image object for it each time.
145 the directory. If path is not contained within an image, return None.
151 import pkg.client.image as image namespace
[all...]
/pkg/src/tests/cli/
H A Dt_pkg_image_create.py36 import pkg.client.image as image namespace
73 """ Create an image, verify it. """
81 self.pkg("image-create -@", exit=2)
82 self.pkg("image-create --bozo", exit=2)
83 self.pkg("image-create", exit=2)
85 self.pkg("image-create --facet foo=NONE -p test1={0} {1}".format(
87 self.pkg("image-create --facet foo= -p test1={0} {1}".format(
89 self.pkg("image-create --facet foo -p test1={0} {1}".format(
92 self.pkg("image
[all...]
H A Dt_pkg_publisher.py34 import pkg.client.image as image namespace
189 # image.py __store_publisher_ssl() which sets the paths to the
346 # image.py __store_publisher_ssl() which sets the paths to the
823 # a pkg command run from within the target image.
826 img = image.Image(self.get_img_path(), should_exist=True,
910 # Load image configuration to verify publisher was configured
929 # Load image configuration to verify publisher was configured
958 # Load image configuration to verify publisher was configured
994 # we can persist a dummy --proxy value to the image
[all...]
H A Dt_pkg_linked.py47 import pkg.client.image as image namespace
141 # setup image names and paths
153 image if that object has been updated via a pkg(1) cli
161 """__img_children_names() - find the children of an image and
172 """__img_has_parent() - check if an image has a parent"""
184 "error: image has unexpected children\n"
185 "image: {0:d}, {1}, {2}\n"
197 "error: image has children\n"
198 "image
[all...]
/pkg/src/modules/client/
H A Dpkg_solver.py43 import pkg.client.image namespace
74 _TRIM_INSTALLED_ORIGIN = 8 # installed version in image too old
75 _TRIM_INSTALLED_ROOT_ORIGIN = 9 # installed version in root image too old
76 _TRIM_PARENT_MISSING = 10 # parent image must have this pkg too
77 _TRIM_PARENT_NEWER = 11 # parent image has newer version
78 _TRIM_PARENT_OLDER = 12 # parent image has older version
79 _TRIM_PARENT_PUB = 13 # parent image has different publisher
129 by name that define pkgs current installed in the image.
131 publisher. variants are the current image variants; avoids is
132 the set of pkg stems being avoided in the image du
[all...]
H A Dapi.py80 import pkg.client.image as image namespace
117 IMG_TYPE_NONE = imgtypes.IMG_NONE # No image.
118 IMG_TYPE_ENTIRE = imgtypes.IMG_ENTIRE # Full image ('/').
235 # if f() acquired the image
243 # if f() acquired the image lock, drop it
254 or uninstall packages, or update an image. First, a gen_plan_* method
297 'img_path' is the absolute path to an existing image or to a
298 path from which to start looking for an image. To control this
315 attempt to find a usable image startin
[all...]
/pkg/src/modules/client/linkedimage/
H A Dcommon.py28 Linked image module classes.
35 The following template classes which linked image plugins should inherit from
78 # linked image relationship types (returned by LinkedImage.list_related())
83 # linked image properties
110 # special linked image name values (PROP_NAME)
113 # linked image model values (PROP_MODEL)
121 # files which contain linked image data
137 """Sanity check a linked image operation return value tuple.
141 json dictionary containing planned image changes
165 """Given a linked image retur
482 def image(self): member in class:LinkedImage
[all...]

Completed in 31 milliseconds