summaryrefslogtreecommitdiffstats
path: root/scripts/lib/recipetool/append.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/lib/recipetool/append.py')
-rw-r--r--scripts/lib/recipetool/append.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/lib/recipetool/append.py b/scripts/lib/recipetool/append.py
index 9dbb1cc4b5..4b6a7112c2 100644
--- a/scripts/lib/recipetool/append.py
+++ b/scripts/lib/recipetool/append.py
@@ -299,7 +299,7 @@ def appendfile(args):
299 if st.st_mode & stat.S_IXUSR: 299 if st.st_mode & stat.S_IXUSR:
300 perms = '0755' 300 perms = '0755'
301 install = {args.newfile: (args.targetpath, perms)} 301 install = {args.newfile: (args.targetpath, perms)}
302 oe.recipeutils.bbappend_recipe(rd, args.destlayer, {args.newfile: sourcepath}, install, wildcardver=args.wildcard_version, machine=args.machine) 302 oe.recipeutils.bbappend_recipe(rd, args.destlayer, {args.newfile: {'path' : sourcepath}}, install, wildcardver=args.wildcard_version, machine=args.machine)
303 tinfoil.modified_files() 303 tinfoil.modified_files()
304 return 0 304 return 0
305 else: 305 else:
@@ -353,7 +353,7 @@ def appendsrc(args, files, rd, extralines=None):
353 logger.warning('{0!r} is already in SRC_URI, not adding'.format(source_uri)) 353 logger.warning('{0!r} is already in SRC_URI, not adding'.format(source_uri))
354 else: 354 else:
355 extralines.append('SRC_URI += {0}'.format(source_uri)) 355 extralines.append('SRC_URI += {0}'.format(source_uri))
356 copyfiles[newfile] = srcfile 356 copyfiles[newfile] = {'path' : srcfile}
357 357
358 oe.recipeutils.bbappend_recipe(rd, args.destlayer, copyfiles, None, wildcardver=args.wildcard_version, machine=args.machine, extralines=extralines) 358 oe.recipeutils.bbappend_recipe(rd, args.destlayer, copyfiles, None, wildcardver=args.wildcard_version, machine=args.machine, extralines=extralines)
359 tinfoil.modified_files() 359 tinfoil.modified_files()