Lines Matching defs:root
316 directory, going up to the filesystem root until it finds one.
462 return self._img.image_type(self._img.root)
467 for the live system root."""
478 the active BE for the system's root image."""
485 self._img.root)
572 def root(self):
573 """The absolute pathname of the filesystem root of the image.
577 return self._img.root
633 "before a refresh can occur.").format(self._img.root))
3361 # Assign a temporary meta root to each
4691 if query_rr.remove_root(self._img.root):
4790 if query_rr.remove_root(self._img.root):
5408 self._img.root)
5515 be_name, be_uuid = bootenv.BootEnv.get_be_name(self._img.root)
5623 """Returns a tuple of (root, exact_match) where 'root' is the absolute
5624 path of the default image root based on current environment given the
5627 Note that the root returned may not actually be the valid root of an
5632 The ImageInterface object will use the root provided as a starting point
5643 root = os.environ.get("PKG_IMAGE")
5645 if not root:
5652 root = orig_cwd
5653 if root:
5655 if not root:
5657 # request or environment, default to live root.
5658 root = misc.liveroot()
5659 return root, exact_match
5662 def image_create(pkg_client_name, version_id, root, imgtype, is_zone,
5676 'root' is the absolute path of the directory where the image will
5692 already exists at the specified 'root' that it should be overwritten.
5736 provided 'root' was user-supplied and that additional error handling
5738 root has been provided or the root was based on the current working
5764 destroy_root = not os.path.exists(root)
5773 img = image.Image(root, force=force, imgtype=imgtype,
5930 os.path.abspath(root) != "/" and \
5931 os.path.exists(root):
5934 shutil.rmtree(root, True)