summaryrefslogtreecommitdiffstats
path: root/scripts/lib/devtool/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/lib/devtool/__init__.py')
-rw-r--r--scripts/lib/devtool/__init__.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/scripts/lib/devtool/__init__.py b/scripts/lib/devtool/__init__.py
index 6133c1c5b4..c9d7ade9ff 100644
--- a/scripts/lib/devtool/__init__.py
+++ b/scripts/lib/devtool/__init__.py
@@ -147,6 +147,8 @@ def check_workspace_recipe(workspace, pn, checksrc=True, bbclassextend=False):
147 Check that a recipe is in the workspace and (optionally) that source 147 Check that a recipe is in the workspace and (optionally) that source
148 is present. 148 is present.
149 """ 149 """
150 import bb.runqueue
151 _, pn = bb.runqueue.split_mc(pn)
150 152
151 workspacepn = pn 153 workspacepn = pn
152 154
@@ -234,7 +236,7 @@ def setup_git_repo(repodir, version, devbranch, basetag='devtool-base', d=None):
234 f.write(line) 236 f.write(line)
235 237
236 bb.process.run('git checkout -b %s' % devbranch, cwd=repodir) 238 bb.process.run('git checkout -b %s' % devbranch, cwd=repodir)
237 bb.process.run('git tag -f %s' % basetag, cwd=repodir) 239 bb.process.run('git tag -f --no-sign %s' % basetag, cwd=repodir)
238 240
239 # if recipe unpacks another git repo inside S, we need to declare it as a regular git submodule now, 241 # if recipe unpacks another git repo inside S, we need to declare it as a regular git submodule now,
240 # so we will be able to tag branches on it and extract patches when doing finish/update on the recipe 242 # so we will be able to tag branches on it and extract patches when doing finish/update on the recipe
@@ -256,7 +258,7 @@ def setup_git_repo(repodir, version, devbranch, basetag='devtool-base', d=None):
256 oe.patch.GitApplyTree.commitIgnored("Add additional submodule from SRC_URI", dir=os.path.join(root, ".."), d=d) 258 oe.patch.GitApplyTree.commitIgnored("Add additional submodule from SRC_URI", dir=os.path.join(root, ".."), d=d)
257 found = False 259 found = False
258 if os.path.exists(os.path.join(repodir, '.gitmodules')): 260 if os.path.exists(os.path.join(repodir, '.gitmodules')):
259 bb.process.run('git submodule foreach --recursive "git tag -f %s"' % basetag, cwd=repodir) 261 bb.process.run('git submodule foreach --recursive "git tag -f --no-sign %s"' % basetag, cwd=repodir)
260 262
261def recipe_to_append(recipefile, config, wildcard=False): 263def recipe_to_append(recipefile, config, wildcard=False):
262 """ 264 """