summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/classes/sstate.bbclass4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/classes/sstate.bbclass b/meta/classes/sstate.bbclass
index 67ddc466ce..79d38304fd 100644
--- a/meta/classes/sstate.bbclass
+++ b/meta/classes/sstate.bbclass
@@ -532,7 +532,11 @@ python sstate_task_postfunc () {
532 sstate_install(shared_state, d) 532 sstate_install(shared_state, d)
533 for intercept in shared_state['interceptfuncs']: 533 for intercept in shared_state['interceptfuncs']:
534 bb.build.exec_func(intercept, d) 534 bb.build.exec_func(intercept, d)
535 omask = os.umask(002)
536 if omask != 002:
537 bb.note("Using umask 002 (not %0o) for sstate packaging" % omask)
535 sstate_package(shared_state, d) 538 sstate_package(shared_state, d)
539 os.umask(omask)
536} 540}
537 541
538 542