diff options
Diffstat (limited to 'meta/classes/package_deb.bbclass')
-rw-r--r-- | meta/classes/package_deb.bbclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/package_deb.bbclass b/meta/classes/package_deb.bbclass index e1d05a74c2..bb5220ed00 100644 --- a/meta/classes/package_deb.bbclass +++ b/meta/classes/package_deb.bbclass | |||
@@ -117,7 +117,7 @@ python do_package_deb () { | |||
117 | 117 | ||
118 | controldir = os.path.join(root, 'DEBIAN') | 118 | controldir = os.path.join(root, 'DEBIAN') |
119 | bb.utils.mkdirhier(controldir) | 119 | bb.utils.mkdirhier(controldir) |
120 | os.chmod(controldir, 0755) | 120 | os.chmod(controldir, 0o755) |
121 | try: | 121 | try: |
122 | import codecs | 122 | import codecs |
123 | ctrlfile = codecs.open(os.path.join(controldir, 'control'), 'w', 'utf-8') | 123 | ctrlfile = codecs.open(os.path.join(controldir, 'control'), 'w', 'utf-8') |
@@ -293,7 +293,7 @@ python do_package_deb () { | |||
293 | scriptfile.write(scriptvar[pos:]) | 293 | scriptfile.write(scriptvar[pos:]) |
294 | scriptfile.write('\n') | 294 | scriptfile.write('\n') |
295 | scriptfile.close() | 295 | scriptfile.close() |
296 | os.chmod(os.path.join(controldir, script), 0755) | 296 | os.chmod(os.path.join(controldir, script), 0o755) |
297 | 297 | ||
298 | conffiles_str = ' '.join(get_conffiles(pkg, d)) | 298 | conffiles_str = ' '.join(get_conffiles(pkg, d)) |
299 | if conffiles_str: | 299 | if conffiles_str: |