| /OK3568_Linux_fs/yocto/poky/meta/lib/oeqa/utils/ |
| H A D | sshcontrol.py | 152 def copy_to(self, localpath, remotepath): argument 153 if os.path.islink(localpath): 154 localpath = os.path.dirname(localpath) + "/" + os.readlink(localpath) 155 command = self.scp + [localpath, '%s@%s:%s' % (self.user, self.ip, remotepath)] 158 def copy_from(self, remotepath, localpath): argument 159 command = self.scp + ['%s@%s:%s' % (self.user, self.ip, remotepath), localpath] 162 def copy_dir_to(self, localpath, remotepath): argument 167 for root, dirs, files in os.walk(localpath): 170 tmp_dir = os.path.join(root, d).replace(localpath, "") 177 tmp_file = os.path.join(root, f).replace(localpath, "") [all …]
|
| /OK3568_Linux_fs/yocto/poky/bitbake/lib/bb/fetch2/ |
| H A D | az.py | 53 localpath = os.path.join(d.getVar("DL_DIR"), ud.localfile) 54 bb.utils.mkdirhier(os.path.dirname(localpath)) 55 fetchcmd += " -O %s" % shlex.quote(localpath) 69 if os.path.exists(ud.localpath): 86 if not os.path.exists(ud.localpath): 87 …e fetch command returned success for url %s but %s doesn't exist?!" % (azuri, ud.localpath), azuri) 89 if os.path.getsize(ud.localpath) == 0: 90 os.remove(ud.localpath)
|
| H A D | __init__.py | 472 elif ud.localpath and ud.method.supports_checksum(ud): 473 basename = os.path.basename(ud.localpath) 572 checksum_data = getattr(bb.utils, "%s_file" % checksum_id)(ud.localpath) 605 "least one to the recipe:" % ud.localpath) 617 "least one to the recipe:" % ud.localpath) 630 "expected" % (ud.localpath, ci["id"], ci["data"], ci["expected"])) 657 if not os.path.exists(ud.localpath): 675 if os.path.exists(ud.donestamp) and (os.path.isdir(ud.localpath) or 676 os.path.getmtime(ud.localpath) < os.path.getmtime(ud.donestamp)): 703 "Cleaning and trying again." % ud.localpath) [all …]
|
| H A D | s3.py | 90 cmd = '%s cp s3://%s%s %s' % (ud.basecmd, ud.host, ud.path, ud.localpath) 100 if not os.path.exists(ud.localpath): 101 … command returned success for s3://%s%s but %s doesn't exist?!" % (ud.host, ud.path, ud.localpath)) 103 if os.path.getsize(ud.localpath) == 0: 104 os.remove(ud.localpath)
|
| H A D | local.py | 40 def localpath(self, urldata, d): member in Local 69 if os.path.exists(ud.localpath): 76 if self.supports_checksum(urldata) and not os.path.exists(urldata.localpath): 92 if os.path.exists(urldata.localpath):
|
| H A D | cvs.py | 61 if not os.path.exists(ud.localpath): 145 cmd = "tar %s -czf %s %s" % (tar_flags, ud.localpath, localdir) 148 cmd = "tar %s -czf %s %s" % (tar_flags, ud.localpath, os.path.basename(moddir)) 150 runfetchcmd(cmd, d, cleanup=[ud.localpath], workdir=workdir) 156 bb.utils.remove(ud.localpath)
|
| H A D | npmsw.py | 80 localpath = None 106 localpath = os.path.join(d.getVar("DL_DIR"), localfile) 110 resolvefile = localpath + ".resolved" 130 localpath = os.path.join(d.getVar("DL_DIR"), localfile) 163 localpath = version[5:] 172 "localpath": localpath,
|
| H A D | wget.py | 110 localpath = os.path.join(d.getVar("DL_DIR"), ud.localfile) 111 bb.utils.mkdirhier(os.path.dirname(localpath)) 112 fetchcmd += " -O %s" % shlex.quote(localpath) 128 if os.path.exists(ud.localpath): 138 if not os.path.exists(ud.localpath): 139 …("The fetch command returned success for url %s but %s doesn't exist?!" % (uri, ud.localpath), uri) 141 if os.path.getsize(ud.localpath) == 0: 142 os.remove(ud.localpath)
|
| H A D | git.py | 306 def localpath(self, ud, d): member in Git 352 ud.localpath = ud.fullshallow 621 to_remove = [ud.localpath, ud.fullmirror, ud.fullmirror + ".done"] 624 if os.path.islink(ud.localpath): 625 clonedir = os.path.realpath(ud.localpath) 817 localpath = ud.localpath 818 rev_file = os.path.join(localpath, "oe-gitpkgv_" + rev) 819 if not os.path.exists(localpath):
|
| H A D | svn.py | 169 runfetchcmd("tar %s -czf %s %s" % (tar_flags, ud.localpath, ud.path_spec), d, 170 cleanup=[ud.localpath], workdir=ud.pkgdir) 177 bb.utils.remove(ud.localpath)
|
| H A D | repo.py | 50 … logger.debug("%s already exists (or was stashed). Skipping repo init / sync.", ud.localpath) 78 …runfetchcmd("tar %s -czf %s %s" % (tar_flags, ud.localpath, os.path.join(".", "*") ), d, workdir=c…
|
| H A D | clearcase.py | 201 if os.path.exists(ud.localpath): 240 … runfetchcmd('tar -czf "%s" .' % (ud.localpath), d, cleanup = [ud.localpath], workdir = ud.viewdir)
|
| H A D | perforce.py | 234 runfetchcmd('tar -czf %s p4' % (ud.localpath), d, cleanup=[ud.localpath], workdir=ud.pkgdir) 238 bb.utils.remove(ud.localpath)
|
| H A D | bzr.py | 96 runfetchcmd("tar %s -czf %s %s" % (tar_flags, ud.localpath, os.path.basename(ud.pkgdir)), 97 d, cleanup=[ud.localpath], workdir=ud.pkgdir)
|
| H A D | hg.py | 81 if not os.path.exists(ud.localpath): 199 bb.utils.remove(ud.localpath, True) 234 def localpath(self, ud, d): member in Hg
|
| H A D | osc.py | 109 runfetchcmd("tar -czf %s %s" % (ud.localpath, ud.module), d, 110 cleanup=[ud.localpath], workdir=os.path.join(ud.pkgdir + ud.path))
|
| /OK3568_Linux_fs/yocto/poky/meta/lib/oeqa/ |
| H A D | runexported.py | 61 def copy_to(self, localpath, remotepath): argument 62 return self.connection.copy_to(localpath, remotepath) 64 def copy_from(self, remotepath, localpath): argument 65 return self.connection.copy_from(remotepath, localpath)
|
| H A D | targetcontrol.py | 83 def copy_to(self, localpath, remotepath): argument 84 return self.connection.copy_to(localpath, remotepath) 86 def copy_from(self, remotepath, localpath): argument 87 return self.connection.copy_from(remotepath, localpath)
|
| /OK3568_Linux_fs/yocto/poky/bitbake/lib/bb/tests/ |
| H A D | fetch.py | 2272 self.assertEqual(ud.localpath, os.path.join(self.dldir, "git2", ref['gitsrcname'])) 2328 self.assertTrue(os.path.exists(ud.localpath)) 2329 self.assertTrue(os.path.exists(ud.localpath + '.done')) 2343 self.assertTrue(os.path.exists(ud.localpath)) 2346 with open(ud.localpath, 'wb') as f: 2351 self.assertTrue(os.path.exists(ud.localpath + '_bad-checksum_' + badsum)) 2352 self.assertTrue(os.path.exists(ud.localpath)) 2362 self.assertTrue(os.path.exists(ud.localpath)) 2374 self.assertFalse(os.path.exists(ud.localpath)) 2382 self.assertTrue(os.path.exists(ud.localpath)) [all …]
|
| /OK3568_Linux_fs/yocto/poky/meta/classes/ |
| H A D | uninative.bbclass | 73 localpath = fetcher.localpath(srcuri) 74 … if localpath != tarballpath and os.path.exists(localpath) and not os.path.exists(tarballpath): 85 os.symlink(localpath, tarballpath)
|
| H A D | archiver.bbclass | 210 local = fetch.localpath(url).rstrip("/"); 363 localpath = None 371 localpath = mirror_path 374 if len(ud.mirrortarballs) and not localpath: 380 if not localpath: 381 bb.note('Using original download: %s' % (ud.localpath)) 382 localpath = ud.localpath 384 if not localpath or not os.path.exists(localpath): 388 # We now have an appropriate localpath 390 cmd = 'cp -fpPRH %s %s' % (localpath, destdir)
|
| /OK3568_Linux_fs/yocto/poky/scripts/lib/recipetool/ |
| H A D | append.py | 120 localpath = bb.fetch2.localpath(item, rd) 122 if fnmatch.fnmatch(os.path.basename(localpath), workdirfile): 123 srcfile = 'file://%s' % localpath 126 srcfile = 'file://%s' % localpath
|
| /OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/classes/ |
| H A D | gitpkgv.bbclass | 83 if not os.path.exists(url.localpath): 88 vars = { 'repodir' : quote(url.localpath), 92 rev_file = os.path.join(url.localpath, "oe-gitpkgv_" + rev)
|
| /OK3568_Linux_fs/yocto/poky/meta/lib/oe/ |
| H A D | recipeutils.py | 482 localpath = fetch.localpath(uri) 485 if localpath.endswith(tuple(archive_exts)): 489 if os.path.isdir(localpath): 490 for root, dirs, files in os.walk(localpath): 493 srcdir = os.path.dirname(localpath) 496 ret[fname] = localpath
|
| /OK3568_Linux_fs/yocto/meta-openembedded/meta-python/recipes-devtools/python/python3-h5py/ |
| H A D | 0001-setup_build.py-avoid-absolute-path.patch | 24 def localpath(*args):
|