mirror of
https://git.yoctoproject.org/poky
synced 2026-04-20 00:32:13 +02:00
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 rev: bdbeff0cd342e31053d7203d78fc5dda611052b1) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
f1f9fab266
commit
e8db1ccef3
@@ -73,7 +73,7 @@ def add(args, config, basepath, workspace):
|
||||
(stdout, _) = bb.process.run('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)
|
||||
|
||||
Reference in New Issue
Block a user