/openbmc/openbmc/poky/meta/lib/oeqa/selftest/cases/ |
H A D | recipetool.py | 63 recipefile = get_bb_var('FILE', testrecipe) 64 bbappendfile = self._check_bbappend(testrecipe, recipefile, self.templayerdir) 362 recipefile = os.path.join(self.tempdir, 'logrotate_3.12.3.bb') 364 result = runCmd('recipetool create -o %s %s -x %s' % (recipefile, srcuri, tempsrc)) 365 self.assertTrue(os.path.isfile(recipefile)) 371 self._test_recipe_contents(recipefile, checkvars, []) 381 recipefile = os.path.join(self.tempdir, 'libmatchbox.bb') 383 …result = runCmd(['recipetool', 'create', '-o', recipefile, srcuri + ";rev=9f7cf8895ae2d39c465c04cc… 384 …self.assertTrue(os.path.isfile(recipefile), 'recipetool did not create recipe file; output:\n%s' %… 393 self._test_recipe_contents(recipefile, checkvars, inherits) [all …]
|
H A D | devtool.py | 139 def _test_recipe_contents(self, recipefile, checkvars, checkinherits): argument 140 with open(recipefile, 'r') as f: 188 def _check_bbappend(self, testrecipe, recipefile, appenddir): argument 200 elif line == '%s:' % os.path.basename(recipefile): 302 recipefile = get_bb_var('FILE', pn) 303 self.assertIn('%s_git.bb' % pn, recipefile, 'Recipe file incorrectly named') 304 self.assertIn(recipefile, result.output) 308 self.assertIn(recipefile, result.output) 311 self._test_recipe_contents(recipefile, checkvars, []) 461 recipefile = get_bb_var('FILE', pn) [all …]
|
H A D | sstatetests.py | 237 … recipefile = os.path.join(tempdir, "recipes-test", "dbus-wait-test", 'dbus-wait-test_git.bb') 238 os.makedirs(os.path.dirname(recipefile)) 240 result = runCmd(['recipetool', 'create', '-o', recipefile, srcuri]) 241 …self.assertTrue(os.path.isfile(recipefile), 'recipetool did not create recipe file; output:\n%s' %… 243 with open(recipefile, 'a') as f:
|
/openbmc/openbmc/poky/scripts/lib/devtool/ |
H A D | utilcmds.py | 27 recipefile = workspace[args.recipename]['recipefile'] 29 recipefile = None 30 if not recipefile: 36 recipefile = rd.getVar('FILE') 39 return recipefile 44 recipefile = _find_recipe_path(args, config, basepath, workspace) 45 print(recipefile)
|
H A D | __init__.py | 126 recipefile = tinfoil.get_recipe_file(pn) 131 append_files = tinfoil.get_file_appends(recipefile) 139 rd = tinfoil.parse_recipe_file(recipefile, appends, append_files) 157 recipefile = value['recipefile'] 158 if recipefile: 159 targets = get_bbclassextend_targets(recipefile, recipe) 261 def recipe_to_append(recipefile, config, wildcard=False): argument 268 appendname = os.path.splitext(os.path.basename(recipefile))[0] 275 def get_bbclassextend_targets(recipefile, pn): argument 286 with open(recipefile, 'r') as f:
|
H A D | standard.py | 181 recipefile = os.path.join(recipedir, os.path.basename(recipes[0])) 182 appendfile = recipe_to_append(recipefile, config) 186 if os.path.exists(recipefile): 187 …sts in your workspace; this shouldn\'t be there - please delete it before continuing' % recipefile) 207 shutil.move(recipes[0], recipefile) 213 …tic_recipe = os.path.join(config.workspace_path, 'attic', recipename, os.path.basename(recipefile)) 227 rd = tinfoil.parse_recipe_file(recipefile, False) 234 movefn = '%s.parsefailed' % recipefile 236 shutil.move(recipefile, movefn) 301 …n automatically created; further editing may be required to make it fully functional' % recipefile) [all …]
|
/openbmc/openbmc/poky/scripts/lib/recipetool/ |
H A D | setvar.py | 42 patches = [oe.recipeutils.patch_recipe_file(args.recipefile, varvalues, patch=args.patch)] 44 rd = tinfoil.parse_recipe_file(args.recipefile, False) 47 patches = oe.recipeutils.patch_recipe(rd, args.recipefile, varvalues, patch=args.patch)
|
/openbmc/openbmc/poky/scripts/esdk-tools/ |
H A D | devtool | 115 recipefile = glob.glob(os.path.join(context.config.workspace_path, 119 if recipefile: 120 recipefile = recipefile[0] 123 pnvalues['recipefile'] = recipefile
|
/openbmc/openbmc/poky/scripts/ |
H A D | devtool | 115 recipefile = glob.glob(os.path.join(context.config.workspace_path, 119 if recipefile: 120 recipefile = recipefile[0] 123 pnvalues['recipefile'] = recipefile
|
/openbmc/openbmc/poky/bitbake/lib/bblayers/ |
H A D | action.py | 264 with open(recipename, 'a') as recipefile: 265 recipefile.write('\n') 266 … recipefile.write('##### bbappended from %s #####\n' % self.get_file_layer(appendname)) 267 recipefile.writelines(appendfile.readlines())
|
/openbmc/openbmc/poky/meta/lib/oe/ |
H A D | recipeutils.py | 619 recipefile = d.getVar('FILE') 620 recipefn = os.path.splitext(os.path.basename(recipefile))[0] 632 origlayerdir = find_layerdir(recipefile) 636 …appendpath = os.path.join(destlayerdir, os.path.relpath(os.path.dirname(recipefile), origlayerdir)… 655 res = re.search('/recipes-[^/]+/', recipefile) 712 recipefile = rd.getVar('FILE') 714 if destlayerdir not in recipefile: 715 …yerdir %s doesn't contain the original recipe (%s), cannot update it" % (destlayerdir, recipefile)) 718 appendpath = recipefile 723 bb.error('Unable to determine layer directory containing %s' % recipefile) [all …]
|
/openbmc/openbmc/poky/documentation/ref-manual/ |
H A D | qa-checks.rst | 439 - ``Recipe <recipefile> has PN of "<recipename>" which is in OVERRIDES, this can result in unexpec… 455 - ``<recipefile>: Variable <variable> is set as not being package specific, please fix this. [pkgv…
|