mirror of
https://git.yoctoproject.org/poky
synced 2026-06-02 01:19:52 +00:00
classes/lib: Convert to use python3 octal syntax
The syntax for octal values changed in python3, adapt to it. (From OE-Core rev: 737a095fcde773a36e0fee1f27b74aaa88062386) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -655,9 +655,9 @@ 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),))
|
||||
omask = os.umask(002)
|
||||
if omask != 002:
|
||||
bb.note("Using umask 002 (not %0o) for sstate packaging" % omask)
|
||||
omask = os.umask(0o002)
|
||||
if omask != 0o002:
|
||||
bb.note("Using umask 0o002 (not %0o) for sstate packaging" % omask)
|
||||
sstate_package(shared_state, d)
|
||||
os.umask(omask)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user