Home | History | Annotate | Download | only in common_lib

Lines Matching refs:dest_path

126     def fetch_pkg_file(self, filename, dest_path):
130 @param dest_path: Destination path to download the file to.
188 def fetch_pkg_file(self, filename, dest_path):
190 dest_path)
198 cmd = self.curl_cmd_pattern % (package_url, dest_path)
202 if not self.exists(dest_path):
210 self.run_command('rm -f %s' % dest_path)
223 def fetch_pkg_file(self, filename, dest_path):
225 dest_path)
228 self.run_command('cp %s %s' % (local_path, dest_path))
441 def fetch_pkg(self, pkg_name, dest_path, repo_url=None, use_checksum=False):
449 dest_path : complete path of where the package will be fetched to.
457 if not self.exists(os.path.dirname(dest_path), target='dir'):
459 "destination: %s " % dest_path)
464 pkg_exists = self.exists(dest_path)
483 or not self.compare_checksum(dest_path))
485 fetcher.fetch_pkg_file(pkg_name, dest_path)
488 self.update_checksum(dest_path)