identity.bbclass: Enforce octal literal representation in os.chmod
PATCH 1/1 identity.bbclass: Enforce octal literal representation in os.chmod
Python 3 changed to the explicit representation and throws errors otherwise.
Signed-off-by Adrian Dudau <[email protected]>
--- meta-openstack/classes/monitor.bbclass | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
meta-openstack/classes/monitor.bbclass +2 -1
@@ -19,7 +19,8 @@ def copy_check_files(d, check_var_name, src, dest): for check in mon_checks.split(): if os.path.exists(src + "/" + check): shutil.copy(src + "/" + check, dest) - os.chmod(dest + "/" + check, 0755) + os.chmod(dest + "/" + check, 0o755) + python do_monitor_install() { import shutil
Signature · 1 line
1.9.1
merged.
Bruce
Quoted 32 lines · Adrian Dudau
Python 3 changed to the explicit representation and throws errors otherwise.
Signed-off-by Adrian Dudau <[email protected]>--- meta-openstack/classes/monitor.bbclass | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)meta-openstack/classes/monitor.bbclass +2
-2@@ -19,7 +19,8 @@ def copy_check_files(d, check_var_name, src, dest): for check in mon_checks.split(): if os.path.exists(src + "/" + check): shutil.copy(src + "/" + check, dest) - os.chmod(dest + "/" + check, 0755) + os.chmod(dest + "/" + check, 0o755) + python do_monitor_install() { import shutil --1.9.1
--
_______________________________________________
meta-virtualization mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-virtualization
Signature · 2 lines
"Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end"