Lines Matching refs:target
49 """ 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
69 target = self.get_target_path()
83 (pkgplan.image.get_root(), target)))
91 # User or another process has removed target for
93 # dependencies, or the target hasn't been installed
96 "target {target} is missing.").format(
97 path=path, target=fulltarget)
116 target = self.get_target_path()
118 target = os.path.normpath(os.path.sep.join(
119 (img.get_root(), target)))
121 if not os.path.exists(target):
123 self.attrs["target"]))
125 # No point in continuing if no target
130 if os.stat(path).st_ino != os.stat(target).st_ino: