Lines Matching +full:stdout +full:- +full:path
2 # SPDX-License-Identifier: GPL-2.0-only
14 # See https://reproducible-builds.org/specs/source-date-epoch/
28 # with recipe-specific functionality to write the appropriate
49 # This works for well-kept repositories distributed via tarball.
64 filepath = os.path.join(sourcedir, file)
65 if os.path.isfile(filepath):
77 # This is the default git fetcher unpack path
79 gitpath = os.path.join(workdir, "git/.git")
80 if os.path.isdir(gitpath):
84 gitpath = os.path.join(sourcedir, ".git")
85 if os.path.isdir(gitpath):
90 exclude = set(["build", "image", "license-destdir", "patches", "pseudo",
91 "recipe-sysroot", "recipe-sysroot-native", "sysroot-destdir", "temp"])
95 return os.path.join(root, ".git")
110 …p = subprocess.run(['git', '--git-dir', gitpath, 'rev-parse', 'HEAD'], stdout=subprocess.PIPE, std…
112 bb.debug(1, "%s does not have a valid HEAD: %s" % (gitpath, p.stdout.decode('utf-8')))
116 …p = subprocess.run(['git', '-c', 'log.showSignature=false', '--git-dir', gitpath, 'log', '-1', '--…
117 check=True, stdout=subprocess.PIPE)
118 return int(p.stdout.decode('utf-8'))
132 filename = os.path.join(root, fname)
187 bb.utils.mkdirhier(os.path.dirname(epochfile))