archiver: fix .pc tar exclude pattern
PATCH 1/1 archiver: fix .pc tar exclude pattern
Remove shell quote characters from the .pc exclude argument now that tar is run with an argv list.
Fixes 7390e72669 ("classes/lib: Start to covert strings to lists...")
Signed-off-by Anders Heimer <[email protected]>
--- meta/classes/archiver.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/classes/archiver.bbclass +1 -1
@@ -483,7 +483,7 @@ def create_tarball(d, srcdir, suffix, ar_outdir): bb.note('Creating %s' % tarname) dirname = os.path.dirname(srcdir) basename = os.path.basename(srcdir) - tar_cmd = ["tar", "--exclude=temp", "--exclude=patches", "--exclude='.pc'", '-cf', tarname, basename, '-I', compression_cmd] + tar_cmd = ["tar", "--exclude=temp", "--exclude=patches", "--exclude=.pc", '-cf', tarname, basename, '-I', compression_cmd] subprocess.check_call(tar_cmd, cwd=dirname) # creating .diff.gz between source.orig and source