Lines Matching +full:sstate +full:- +full:cache
2 # SPDX-License-Identifier: GPL-2.0-only
11 return x.endswith("-native")
13 return "-cross-" in x
15 return x.startswith("nativesdk-")
18 …return inherits.find("/module-base.bbclass") != -1 or inherits.find("/linux-kernel-base.bbclass") …
35 # i.e INHERIT:remove = "create-spdx" will trigger the do_rm_work
41 # all downstream documents must be re-written (even if they are "safe"
46 # (Almost) always include our own inter-task dependencies (unless it comes
48 # do_kernel_configme->do_unpack_and_patch dependency from archiver.bbclass.
54 # Exclude well defined recipe->dependency
55 if "%s->%s" % (recipename, depname) in siggen.saferecipedeps:
59 if "*->%s" % depname in siggen.saferecipedeps and recipename != depname:
77 # if we're just doing an RRECOMMENDS:xxx = "kernel-module-*", not least because the checksum
80 # and we reccomend a kernel-module, we exclude the dependency.
83 if " ".join(dataCaches[mc].runrecs[fn][pkg]).find("kernel-module-") != -1:
140 a1, a2 = a.split("->")
145 newsafedeps.append(a1 + "->" + a2)
159 sigfile = os.getcwd() + "/locked-sigs.inc"
239 t = 't-' + t.replace('_', '-')
265 if fn_exp[-1].startswith(path_prefix_strip):
266 fn_exp[-1] = fn_exp[-1][len(path_prefix_strip):]
291 … sstate_missing_msgs.append("Locked sig is set for %s:%s (%s) yet not in sstate cache?"
345 pn = pn + '-native'
364 if pn.startswith("gcc-source"):
365 # gcc-source shared workdir is a special case :(
366 stamp = localdata.expand("${STAMPS_DIR}/work-shared/gcc-${PV}-${PR}")
389 # That didn't work, look in sstate-cache
404 elif pn.endswith('-native') or "-cross-" in pn or "-crosssdk-" in pn:
430 Return the sstate manifest file path for a particular task.
434 extrainf = d.getVarFlag("do_" + task, 'stamp-extra-info')
445 if "virtclass-multilib" not in d.getVar("OVERRIDES"):
454 if taskdata.endswith("-native"):
456 elif taskdata.startswith("nativesdk-"):
458 elif "-cross-canadian" in taskdata:
459 pkgarchs = ["${SDK_ARCH}_${SDK_ARCH}-${SDKPKGSUFFIX}"]
460 elif "-cross-" in taskdata:
462 elif "-crosssdk" in taskdata:
468 pkgarchs.append('${SDK_ARCH}_${SDK_ARCH}-${SDKPKGSUFFIX}')
473 … manifest = d2.expand("${SSTATE_MANIFESTS}/manifest-%s-%s.%s" % (pkgarch, taskdata, taskname))
477 …bb.fatal("The sstate manifest for task '%s:%s' (multilib variant '%s') could not be found.\nThe pk…
496 s = s.encode('utf-8')
536 # can be restored from sstate. Since the sstate object is named using
563 update_hash('-')
565 def add_perm(mask, on, off='-'):
628 # Need to ignore paths in crossscripts and postinst-useradd files.
636 if r.startswith("regex-"):
652 update_hash(" -> %s" % os.readlink(path))