mirror of
https://git.yoctoproject.org/poky
synced 2026-05-02 18:32:15 +02:00
recipetool: create: Support creating extra files named after the recipe
(From OE-Core rev: ea26eb8e4a00a63700a95c2c848272b170154294) Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
a9e835dbe6
commit
1e3a4a08a2
@@ -824,7 +824,8 @@ def create_recipe(args):
|
||||
extraoutdir = os.path.join(os.path.dirname(outfile), pn)
|
||||
bb.utils.mkdirhier(extraoutdir)
|
||||
for destfn, extrafile in extrafiles.items():
|
||||
shutil.move(extrafile, os.path.join(extraoutdir, destfn))
|
||||
fn = destfn.format(pn=pn, pv=realpv)
|
||||
shutil.move(extrafile, os.path.join(extraoutdir, fn))
|
||||
|
||||
lines = lines_before
|
||||
lines_before = []
|
||||
|
||||
Reference in New Issue
Block a user