Lines Matching refs:dest
51 dest="$2"
57 mkdir -p "$dest"
58 rdest=$(realpath --relative-to="$src" "$dest")
144 def staging_copyfile(c, target, dest, postinsts, seendirs):
147 destdir = os.path.dirname(dest)
152 postinsts.append(dest)
155 if os.path.lexists(dest):
156 if not os.path.islink(dest):
157 raise OSError(errno.EEXIST, "Link %s already exists as a file" % dest, dest)
158 if os.readlink(dest) == linkto:
159 return dest
160 …k %s already exists to a different location? (%s vs %s)" % (dest, os.readlink(dest), linkto), dest)
161 os.symlink(linkto, dest)
165 os.link(c, dest)
168 bb.utils.copyfile(c, dest)
171 return dest
173 def staging_copydir(c, target, dest, seendirs):
174 if dest not in seendirs:
175 bb.utils.mkdirhier(dest)
176 seendirs.add(dest)
237 dest = l.replace(stagingdir, "")
238 dest = targetdir + "/" + "/".join(dest.split("/")[3:])
240 staging_copydir(l, targetdir, dest, seendirs)
243 staging_copyfile(l, targetdir, dest, postinsts, seendirs)
573 dest = l.replace(stagingdir, "")
574 dest = "/" + "/".join(dest.split("/")[3:])
575 newmanifest[l] = targetdir + dest
580 hashname = targetdir + dest
583 … bb.fatal("The file %s is installed by both %s and %s, aborting" % (dest, c, fileset[hashname]))
599 dest = newmanifest[l]
600 m.write(dest.replace(workdir + "/", "") + "\n")
611 dest = newmanifest[l]
613 staging_copydir(l, targetdir, dest, seendirs)
617 binfiles[l] = (targetdir, dest)
619 staging_copyfile(l, targetdir, dest, postinsts, seendirs)
623 (targetdir, dest) = binfiles[l]
624 staging_copyfile(l, targetdir, dest, postinsts, seendirs)