path: root/scripts/lib/devtool/
diff options
authorPaul Eggleton <>2015-04-27 10:53:18 +0100
committerRichard Purdie <>2015-06-28 09:44:14 +0100
commitd1b6e1dfdbd0f77bc21863471db39816cfc3c3be (patch)
tree38fa54cf9101b7793963c1d31ac1eafa3702f801 /scripts/lib/devtool/
parent2bc3328b8b2a718221d2c206cc6f4d8cbc09e9c8 (diff)
devtool: add: use correct bbappend file name with -V option
We weren't adding the version into the bbappend file name when -V was specified which meant that building or resetting failed. Also adjust one of the tests so that we're testing devtool add both with and without this option. Fixes [YOCTO #7647]. (From OE-Core master rev: bdbeff0cd342e31053d7203d78fc5dda611052b1) (From OE-Core rev: 0b9e8817fc8ba375a1045a66d04b3fd2b498427b) Signed-off-by: Paul Eggleton <> Signed-off-by: Richard Purdie <>
Diffstat (limited to 'scripts/lib/devtool/')
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/lib/devtool/ b/scripts/lib/devtool/
index faf5c92..8932265 100644
--- a/scripts/lib/devtool/
+++ b/scripts/lib/devtool/
@@ -73,7 +73,7 @@ def add(args, config, basepath, workspace):
(stdout, _) ='git rev-parse HEAD', cwd=srctree)
initial_rev = stdout.rstrip()
- appendfile = os.path.join(appendpath, '%s.bbappend' % args.recipename)
+ appendfile = os.path.join(appendpath, '%s.bbappend' % bp)
with open(appendfile, 'w') as f:
f.write('inherit externalsrc\n')
f.write('EXTERNALSRC = "%s"\n' % srctree)
OpenPOWER on IntegriCloud