Lines Matching +full:repo +full:- +full:name
5 # SPDX-License-Identifier: GPL-2.0-only
12 # test-remote-image --image-type core-image-sato --repo-link http://192.168.10.2/images --required-…
14 # Translation: Build the 'rpm' and 'pslash' packages and test a remote core-image-sato image using …
16 # You can also use the '-h' option to see some help information.
60 formatter = logging.Formatter('%(asctime)s - %(name)s - %(levelname)s - %(message)s')
77 …gument('--image-types', required=True, action="store", nargs='*', dest="image_types", default=None…
78 …parser.add_argument('--repo-link', required=True, action="store", type=str, dest="repo_link", defa…
79 …parser.add_argument('--required-packages', required=False, action="store", nargs='*', dest="requir…
80 …parser.add_argument('--targetprofile', required=False, action="store", nargs=1, dest="targetprofil…
81 …parser.add_argument('--repoprofile', required=False, action="store", nargs=1, dest="repoprofile", …
82 …parser.add_argument('--skip-download', required=False, action="store_true", dest="skip_download", …
96 …self.extra_download_files = [] # Extra files (full name) to be downloaded. They should be…
157 self.kernel_file = self.kernel_type + '-' + machine + '.bin'
236 wget_cmd = '/usr/bin/env wget -t 2 -T 30 -nv --passive-ftp --no-check-certificate '
239 wget_cmd += ' -O ' + localname + ' '
244 wget_cmd += " -P %s '%s'" % (localdir, link)
257 self.repo = self.get_repo_profile(self.repolink)
261 repo = getattr(sys.modules[__name__], self.repoprofile)(*args, **kwargs)
262 log.info("Using repo profile: %s" % repo.__class__.__name__)
263 return repo
271 …# Run the testimage task on a build while redirecting DEPLOY_DIR_IMAGE to repo.localdir, where the…
274 postconfig = "DEPLOY_DIR_IMAGE = \"%s\"" % self.repo.localdir
275 result = bitbake("%s -c testimage" % image_type, ignore_status=True, postconfig=postconfig)
293 result = bitbake("package-index", ignore_status=True)
295 log.error("Could not build 'package-index'. Output: %s" % result.output)
299 log.info("Creating directory structure %s" % self.repo.localdir)
300 if not os.path.exists(self.repo.localdir):
301 os.makedirs(self.repo.localdir)
313 if self.repo.check_old_file(files_dict[f]):
314 filepath = os.path.join(self.repo.localdir, files_dict[f])
317 self.repo.fetch(files_dict[f])
326 log.error('Finished. Some runtime tests have failed. Returning non-0 status code.')