Home
last modified time | relevance | path

Searched refs:tinfoil (Results 1 – 25 of 79) sorted by relevance

1234

/openbmc/openbmc/poky/meta/lib/oeqa/selftest/cases/
H A Dtinfoil.py11 import bb.tinfoil
19 with bb.tinfoil.Tinfoil() as tinfoil:
20 tinfoil.prepare(True)
21 machine = tinfoil.config_data.getVar('MACHINE')
26 with bb.tinfoil.Tinfoil() as tinfoil:
27 tinfoil.prepare(True)
29 pid = tinfoil.config_data.expand(expr)
34 with bb.tinfoil.Tinfoil() as tinfoil:
35 tinfoil.prepare(True)
36 origenv = tinfoil.config_data.getVar('BB_ORIGENV', False)
[all …]
H A Drecipeutils.py7 import bb.tinfoil
14 global tinfoil
17 tinfoil = bb.tinfoil.Tinfoil(tracking=True)
18 tinfoil.prepare(config_only=False, quiet=2)
22 tinfoil.shutdown()
30 rd = tinfoil.parse_recipe('python3-async-test')
65 rd = tinfoil.parse_recipe('recipeutils-test')
92 rd = tinfoil.parse_recipe('recipeutils-test')
H A Dfetch.py9 import bb.tinfoil
73 …with bb.tinfoil.Tinfoil() as tinfoil, tempfile.TemporaryDirectory(prefix="selftest-fetch") as temp…
74 tinfoil.prepare(config_only=False, quiet=2)
81 d = tinfoil.parse_recipe_file(f)
91 d = tinfoil.parse_recipe_file(f)
100 d = tinfoil.parse_recipe_file(f)
109 d = tinfoil.parse_recipe_file(f)
H A Ddistrodata.py68 with bb.tinfoil.Tinfoil() as tinfoil:
69 tinfoil.prepare(config_only=False)
81 for fn in tinfoil.all_recipe_files(variants=False):
85 rd = tinfoil.parse_recipe_file(fn, appends=False)
95 maintainers = tinfoil.config_data.keys()
98 recipe = tinfoil.config_data.expand(key[len(prefix):])
/openbmc/openbmc/poky/scripts/contrib/
H A Dimage-manifest37 import bb.tinfoil
60 def pkg2recipe(tinfoil, pkg): argument
65 pkgdata_dir = tinfoil.config_data.getVar('PKGDATA_DIR')
78 def get_recipe_list(manifest, tinfoil): argument
82 recipe = pkg2recipe(tinfoil,pkg)
90 import bb.tinfoil
91 with bb.tinfoil.Tinfoil() as tinfoil:
92 tinfoil.logger.setLevel(logger.getEffectiveLevel())
93 tinfoil.prepare(config_only=True)
94 recipelist = get_recipe_list(args.manifest, tinfoil)
[all …]
H A Dbbvars.py20 import bb.tinfoil
109 with bb.tinfoil.Tinfoil() as tinfoil:
110 tinfoil.prepare(config_only=False)
112 datastore = tinfoil.config_data
117 if tinfoil.config_data.getVarFlag(data, 'python'):
119 parser.parse_python(tinfoil.config_data.getVar(data))
139 for recipe in tinfoil.all_recipe_files(variants=False):
141 for data in tinfoil.parse_recipe_file(recipe):
/openbmc/openbmc/poky/scripts/
H A Drecipetool26 import bb.tinfoil
28 tinfoil = bb.tinfoil.Tinfoil(tracking=True)
29 tinfoil.logger.setLevel(logger.getEffectiveLevel())
30 tinfoil.prepare(not parserecipes)
31 return tinfoil
70 tinfoil = tinfoil_init(False)
72 for path in (tinfoil.config_data.getVar('BBPATH').split(':')
87 plugin.tinfoil_init(tinfoil)
97 tinfoil.config_data.disableTracking()
98 tinfoil.parseRecipes()
[all …]
H A Dbblock23 import bb.tinfoil
32 def getTaskSignatures(tinfoil, pn, tasks): argument
33 tinfoil.set_event_mask(
41 ret = tinfoil.run_command("getTaskSignatures", pn, tasks)
44 event = tinfoil.wait_event(1)
61 def parseRecipe(tinfoil, recipe): argument
63 tinfoil.parse_recipes()
64 d = tinfoil.parse_recipe(recipe)
131 with bb.tinfoil.Tinfoil() as tinfoil:
132 tinfoil.prepare(config_only=True)
[all …]
H A Doe-debuginfod16 import bb.tinfoil
27 with bb.tinfoil.Tinfoil() as tinfoil:
28 tinfoil.prepare(config_only=True)
29 …package_classes_var = "DEPLOY_DIR_" + tinfoil.config_data.getVar("PACKAGE_CLASSES").split()[0].rep…
30 feed_dir = tinfoil.config_data.getVar(package_classes_var, expand=True)
H A Dverify-bashisms90 import bb.tinfoil
91 tinfoil = bb.tinfoil.Tinfoil()
92 tinfoil.prepare()
94 return tinfoil
120 tinfoil = get_tinfoil() variable
124 pkg_pn = tinfoil.cooker.recipecaches[""].pkg_pn
141 data = tinfoil.parse_recipe_file(realfn)
160 tinfoil.shutdown()
/openbmc/openbmc/poky/scripts/esdk-tools/
H A Drecipetool26 import bb.tinfoil
28 tinfoil = bb.tinfoil.Tinfoil(tracking=True)
29 tinfoil.logger.setLevel(logger.getEffectiveLevel())
30 tinfoil.prepare(not parserecipes)
31 return tinfoil
70 tinfoil = tinfoil_init(False)
72 for path in (tinfoil.config_data.getVar('BBPATH').split(':')
87 plugin.tinfoil_init(tinfoil)
97 tinfoil.config_data.disableTracking()
98 tinfoil.parseRecipes()
[all …]
/openbmc/openbmc/poky/bitbake/lib/bb/
H A Dtinfoil.py49 def __init__(self, tinfoil, dsindex): argument
50 self.tinfoil = tinfoil
54 … return self.tinfoil.run_command('dataStoreConnectorVarHistCmd', self.dsindex, cmd, args, kwargs)
57 …ret = self.tinfoil.run_command('dataStoreConnectorVarHistCmdEmit', self.dsindex, var, oval, val, d…
69 def __init__(self, tinfoil, dsindex): argument
70 self.tinfoil = tinfoil
74 … return self.tinfoil.run_command('dataStoreConnectorIncHistCmd', self.dsindex, cmd, args, kwargs)
91 def __init__(self, tinfoil, dsindex): argument
92 self.tinfoil = tinfoil
94 self.varhistory = TinfoilDataStoreConnectorVarHistory(tinfoil, dsindex)
[all …]
/openbmc/openbmc/poky/meta/lib/patchtest/tests/
H A Dbase.py138 cls.tinfoil = cls.setup_tinfoil()
145 cls.tinfoil.shutdown()
158 import bb.tinfoil
165 tinfoil = None
170 return tinfoil
172 tinfoil = bb.tinfoil.Tinfoil()
173 tinfoil.prepare(config_only=config_only)
174 except bb.tinfoil.TinfoilUIException as te:
175 if tinfoil:
176 tinfoil.shutdown()
[all …]
/openbmc/openbmc/poky/bitbake/bin/
H A Dbitbake-config-build25 import bb.tinfoil
61 with bb.tinfoil.Tinfoil(tracking=True) as tinfoil:
62 tinfoil.logger.setLevel(logger.getEffectiveLevel())
67 tinfoil.prepare(True)
68 bbpaths = tinfoil.config_data.getVar('BBPATH').split(':')
78 plugin.tinfoil_init(tinfoil)
90 tinfoil.config_data.disableTracking()
91 tinfoil.parse_recipes()
92 tinfoil.config_data.enableTracking()
H A Dbitbake-layers25 import bb.tinfoil
61 with bb.tinfoil.Tinfoil(tracking=True) as tinfoil:
62 tinfoil.logger.setLevel(logger.getEffectiveLevel())
67 tinfoil.prepare(True)
68 bbpaths = tinfoil.config_data.getVar('BBPATH').split(':')
78 plugin.tinfoil_init(tinfoil)
90 tinfoil.config_data.disableTracking()
91 tinfoil.parse_recipes()
92 tinfoil.config_data.enableTracking()
H A Dbitbake-diffsigs22 import bb.tinfoil
32 def find_siginfo(tinfoil, pn, taskname, sigs=None): argument
34 tinfoil.set_event_mask(['bb.event.FindSigInfoResult',
38 ret = tinfoil.run_command('findSigInfo', pn, taskname, sigs)
41 event = tinfoil.wait_event(1)
93 hashfiles = find_siginfo(tinfoil, key, None, hashes)
164 with bb.tinfoil.Tinfoil() as tinfoil:
165 tinfoil.prepare(config_only=True)
167 … files = find_siginfo_task(tinfoil, options.taskargs[0], options.taskargs[1], options.sigargs[0],
170 files = find_siginfo_task(tinfoil, options.taskargs[0], options.taskargs[1])
[all …]
H A Dbitbake-dumpsig22 import bb.tinfoil
32 def find_siginfo(tinfoil, pn, taskname, sigs=None): argument
34 tinfoil.set_event_mask(['bb.event.FindSigInfoResult',
38 ret = tinfoil.run_command('findSigInfo', pn, taskname, sigs)
41 event = tinfoil.wait_event(1)
93 hashfiles = find_siginfo(tinfoil, key, None, hashes)
164 with bb.tinfoil.Tinfoil() as tinfoil:
165 tinfoil.prepare(config_only=True)
167 … files = find_siginfo_task(tinfoil, options.taskargs[0], options.taskargs[1], options.sigargs[0],
170 files = find_siginfo_task(tinfoil, options.taskargs[0], options.taskargs[1])
[all …]
H A Dbitbake-getvar20 import bb.tinfoil
41 with bb.tinfoil.Tinfoil(tracking=True, setup_logging=not quiet) as tinfoil:
43 tinfoil.prepare(quiet=3 if quiet else 2)
45 d = tinfoil.parse_recipe(args.recipe)
49 tinfoil.prepare(quiet=2, config_only=True)
52 d = tinfoil.finalizeData()
/openbmc/openbmc/poky/bitbake/lib/bblayers/
H A Dquery.py34 for layer, _, regex, pri in self.tinfoil.cooker.bbfile_config_priorities:
74 bbpath = str(self.tinfoil.config_data.getVar('BBPATH'))
126 bbpath = str(self.tinfoil.config_data.getVar('BBPATH'))
138 pkg_pn = self.tinfoil.cooker.recipecaches[mc].pkg_pn
139 (latest_versions, preferred_versions, required_versions) = self.tinfoil.find_providers(mc)
140 allproviders = self.tinfoil.get_all_providers(mc)
145 skiplist = list(self.tinfoil.cooker.skiplist_by_mc[mc].keys())
165 … skipped = ' (skipped: %s)' % self.tinfoil.cooker.skiplist_by_mc[mc][f].skipreason
182 global_inherit = (self.tinfoil.config_data.getVar('INHERIT') or "").split()
206 if realfn[1] and realfn[0] in self.tinfoil.cooker.recipecaches[mc].pkg_fn:
[all …]
H A Daction.py54 self.tinfoil.modified_files()
56 self.tinfoil.run_command('parseConfiguration')
57 except (bb.tinfoil.TinfoilUIException, bb.BBHandledException):
60 self.tinfoil.modified_files()
88 self.tinfoil.modified_files()
155 for mc in self.tinfoil.cooker.multiconfigs:
156 for f in self.tinfoil.cooker.collections[mc].overlayed.keys():
157 for of in self.tinfoil.cooker.collections[mc].overlayed[f]:
187 for mc in self.tinfoil.cooker.multiconfigs:
188 … appends |= set(self.tinfoil.cooker.collections[mc].get_file_appends(f1full))
[all …]
H A Dcommon.py16 self.tinfoil = None
19 def tinfoil_init(self, tinfoil): argument
20 self.tinfoil = tinfoil
21 self.bblayers = (self.tinfoil.config_data.getVar('BBLAYERS') or "").split()
22 … layerconfs = self.tinfoil.config_data.varhistory.get_variable_items_files('BBFILE_COLLECTIONS')
/openbmc/openbmc/poky/scripts/lib/devtool/
H A Dbuild_image.py22 def _get_packages(tinfoil, workspace, config): argument
26 data = parse_recipe(config, tinfoil, recipe, True)
78 tinfoil = setup_tinfoil(basepath=basepath)
80 rd = parse_recipe(config, tinfoil, image, True)
102 packages = _get_packages(tinfoil, workspace, config)
129 tmp_tinfoil = tinfoil
130 tinfoil = None
147 if tinfoil:
148 tinfoil.shutdown()
H A Drunqemu.py22 tinfoil = setup_tinfoil(config_only=True, basepath=basepath)
24 machine = tinfoil.config_data.getVar('MACHINE')
25 bindir_native = os.path.join(tinfoil.config_data.getVar('STAGING_DIR'),
26 tinfoil.config_data.getVar('BUILD_ARCH'),
27tinfoil.config_data.getVar('bindir_native').lstrip(os.path.sep))
29 tinfoil.shutdown()
/openbmc/openbmc/poky/scripts/lib/recipetool/
H A Dedit.py23 tinfoil = None variable
27 global tinfoil
28 tinfoil = instance
34 recipe_path = tinfoil.get_recipe_file(args.target)
35 appends = tinfoil.get_file_appends(recipe_path)
/openbmc/openbmc/meta-arm/meta-arm/lib/fvp/
H A Dconffile.py12 import bb.tinfoil
19 with bb.tinfoil.Tinfoil() as tinfoil:
20 tinfoil.prepare(config_only=True)
21 image_dir = tinfoil.config_data.getVar("DEPLOY_DIR_IMAGE")

1234