Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH] archiver: fix .pc tar exclude pattern
@ 2026-06-15 11:14 Anders Heimer
  0 siblings, 0 replies; only message in thread
From: Anders Heimer @ 2026-06-15 11:14 UTC (permalink / raw)
  To: openembedded-core; +Cc: Anders Heimer

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 <anders.heimer@est.tech>
---
 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


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-06-15 11:14 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-15 11:14 [PATCH] archiver: fix .pc tar exclude pattern Anders Heimer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox