diff mbox series

[isar-cip-core,1/1] squashfs: ensure path glob is not expanded by calling shell

Message ID 20241211112839.2743741-1-felix.moessbauer@siemens.com (mailing list archive)
State New
Headers show
Series [isar-cip-core,1/1] squashfs: ensure path glob is not expanded by calling shell | expand

Commit Message

Felix Moessbauer Dec. 11, 2024, 11:28 a.m. UTC
Signed-off-by: Felix Moessbauer <felix.moessbauer@siemens.com>
---
 classes/squashfs.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/classes/squashfs.bbclass b/classes/squashfs.bbclass
index cebda70..751da20 100644
--- a/classes/squashfs.bbclass
+++ b/classes/squashfs.bbclass
@@ -38,7 +38,7 @@  python __anonymous() {
     # This allows to use the directory as a mount point.
     args = " -wildcards"
     for dir in exclude_directories:
-        args += " -e {dir}/* ".format(dir=dir)
+        args += " -e '{dir}/*' ".format(dir=dir)
     d.appendVar('SQUASHFS_CREATION_ARGS', args)
 }