Home
last modified time | relevance | path

Searched refs:recipefile (Results 1 – 11 of 11) sorted by relevance

/OK3568_Linux_fs/yocto/poky/meta/lib/oeqa/selftest/cases/
H A Ddevtool.py120 def _test_recipe_contents(self, recipefile, checkvars, checkinherits): argument
121 with open(recipefile, 'r') as f:
169 def _check_bbappend(self, testrecipe, recipefile, appenddir): argument
181 elif line == '%s:' % os.path.basename(recipefile):
366 recipefile = get_bb_var('FILE', pn)
367 self.assertIn('%s_git.bb' % pn, recipefile, 'Recipe file incorrectly named')
368 self.assertIn(recipefile, result.output)
373 self.assertIn(recipefile, result.output)
382 self._test_recipe_contents(recipefile, checkvars, [])
409 recipefile = '%s/recipes/libftdi/libftdi_%s.bb' % (self.workspacedir, version)
[all …]
H A Drecipetool.py48 recipefile = get_bb_var('FILE', testrecipe)
49 bbappendfile = self._check_bbappend(testrecipe, recipefile, self.templayerdir)
341 recipefile = os.path.join(self.tempdir, 'logrotate_3.12.3.bb')
343 result = runCmd('recipetool create -o %s %s -x %s' % (recipefile, srcuri, tempsrc))
344 self.assertTrue(os.path.isfile(recipefile))
351 self._test_recipe_contents(recipefile, checkvars, [])
361 recipefile = os.path.join(self.tempdir, 'libmatchbox.bb')
363 …result = runCmd(['recipetool', 'create', '-o', recipefile, srcuri + ";rev=9f7cf8895ae2d39c465c04cc…
364 …self.assertTrue(os.path.isfile(recipefile), 'recipetool did not create recipe file; output:\n%s' %…
373 self._test_recipe_contents(recipefile, checkvars, inherits)
[all …]
H A Dsstatetests.py40recipefile = os.path.join(tempdir, "recipes-test", "dbus-wait-test", 'dbus-wait-test_git.bb')
41 os.makedirs(os.path.dirname(recipefile))
43 result = runCmd(['recipetool', 'create', '-o', recipefile, srcuri])
44 …self.assertTrue(os.path.isfile(recipefile), 'recipetool did not create recipe file; output:\n%s' %…
46 with open(recipefile, 'a') as f:
/OK3568_Linux_fs/yocto/poky/scripts/lib/devtool/
H A D__init__.py123 recipefile = tinfoil.get_recipe_file(pn)
128 append_files = tinfoil.get_file_appends(recipefile)
136 rd = tinfoil.parse_recipe_file(recipefile, appends, append_files)
154 recipefile = value['recipefile']
155 if recipefile:
156 targets = get_bbclassextend_targets(recipefile, recipe)
236 def recipe_to_append(recipefile, config, wildcard=False): argument
243 appendname = os.path.splitext(os.path.basename(recipefile))[0]
250 def get_bbclassextend_targets(recipefile, pn): argument
261 with open(recipefile, 'r') as f:
H A Dutilcmds.py27 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 Dstandard.py176 recipefile = os.path.join(recipedir, os.path.basename(recipes[0]))
177 appendfile = recipe_to_append(recipefile, config)
181 if os.path.exists(recipefile):
182 …sts in your workspace; this shouldn\'t be there - please delete it before continuing' % recipefile)
202 shutil.move(recipes[0], recipefile)
208 …tic_recipe = os.path.join(config.workspace_path, 'attic', recipename, os.path.basename(recipefile))
222 rd = tinfoil.parse_recipe_file(recipefile, False)
229 movefn = '%s.parsefailed' % recipefile
231 shutil.move(recipefile, movefn)
291 …n automatically created; further editing may be required to make it fully functional' % recipefile)
[all …]
/OK3568_Linux_fs/yocto/poky/scripts/lib/recipetool/
H A Dsetvar.py42 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)
/OK3568_Linux_fs/yocto/poky/scripts/
H A Ddevtool115 recipefile = glob.glob(os.path.join(config.workspace_path,
119 if recipefile:
120 recipefile = recipefile[0]
123 pnvalues['recipefile'] = recipefile
/OK3568_Linux_fs/yocto/poky/bitbake/lib/bblayers/
H A Daction.py255 with open(recipename, 'a') as recipefile:
256 recipefile.write('\n')
257recipefile.write('##### bbappended from %s #####\n' % self.get_file_layer(appendname))
258 recipefile.writelines(appendfile.readlines())
/OK3568_Linux_fs/yocto/poky/meta/lib/oe/
H A Drecipeutils.py621 recipefile = d.getVar('FILE')
622 recipefn = os.path.splitext(os.path.basename(recipefile))[0]
634 origlayerdir = find_layerdir(recipefile)
638 …appendpath = os.path.join(destlayerdir, os.path.relpath(os.path.dirname(recipefile), origlayerdir)…
657 res = re.search('/recipes-[^/]+/', recipefile)
710 bb.error('Unable to determine layer directory containing %s' % recipefile)
/OK3568_Linux_fs/yocto/poky/documentation/ref-manual/
H A Dqa-checks.rst439 - ``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…