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(-)

diff --git a/meta/classes/archiver.bbclass b/meta/classes/archiver.bbclass
index fede565573..0c3581e2f8 100644
--- a/meta/classes/archiver.bbclass
+++ b/meta/classes/archiver.bbclass
@@ -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
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#238836): 
https://lists.openembedded.org/g/openembedded-core/message/238836
Mute This Topic: https://lists.openembedded.org/mt/119813530/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to