[OE-core] [PATCH] sstate: fix typo resulting in crazy directory creation
Ross Burton
ross.burton at intel.com
Fri Sep 25 16:20:35 UTC 2015
A transposed , and ) meant that a string was passed to a function instead of a
list of strings, so bitbake ends up creating a directory for every character in
the current working directory.
Signed-off-by: Ross Burton <ross.burton at intel.com>
---
meta/classes/sstate.bbclass | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/classes/sstate.bbclass b/meta/classes/sstate.bbclass
index b257734..d09e27a 100644
--- a/meta/classes/sstate.bbclass
+++ b/meta/classes/sstate.bbclass
@@ -644,7 +644,7 @@ python sstate_task_postfunc () {
sstate_install(shared_state, d)
for intercept in shared_state['interceptfuncs']:
- bb.build.exec_func(intercept, d, (d.getVar("WORKDIR", True,)))
+ bb.build.exec_func(intercept, d, (d.getVar("WORKDIR", True),))
omask = os.umask(002)
if omask != 002:
bb.note("Using umask 002 (not %0o) for sstate packaging" % omask)
--
2.1.4
More information about the Openembedded-core
mailing list