Thread (6 messages) 6 messages, 2 authors, 2024-12-17

[isar-cip-core][PATCH v2 1/3] fix expansion of erofs exclude dirs

flat view
DORMANTno replies

From: Felix Moessbauer <hidden>
Date: 2024-12-17 02:03:33
Subsystem: the rest · Maintainer: Linus Torvalds

When defining erofs exclude dirs, these are expanded and appended to the
erofs creation args. However, this only works if the target variable
exists and is of the correct type (string).

Signed-off-by: Felix Moessbauer <redacted>
---
 classes/erofs.bbclass | 1 +
 1 file changed, 1 insertion(+)
diff --git a/classes/erofs.bbclass b/classes/erofs.bbclass
index 95e7be3..189c1ea 100644
--- a/classes/erofs.bbclass
+++ b/classes/erofs.bbclass
@@ -19,6 +19,7 @@ python __anonymous() {
     exclude_directories = d.getVar('EROFS_EXCLUDE_DIRS').split()
     if len(exclude_directories) == 0:
         return
+    args = ""
     # Use regex to exclude only content of the directory.
     # This allows to use the directory as a mount point.
     for dir in exclude_directories:
-- 
2.39.5

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help