Message ID | 20250529202802.1198179-2-ross.burton@arm.com |
---|---|
State | New |
Headers | show |
Series | Go module update class | expand |
diff --git a/scripts/lib/recipetool/create.py b/scripts/lib/recipetool/create.py index ea2ef5be637..24315b95b08 100644 --- a/scripts/lib/recipetool/create.py +++ b/scripts/lib/recipetool/create.py @@ -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 = []