diff options
author | Richard Purdie <richard@openedhand.com> | 2007-03-31 14:04:49 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2007-03-31 14:04:49 +0000 |
commit | ee221cdbdda32164fc99860a6e38c0dba1bb3df5 (patch) | |
tree | e7a6752418f9a5d05e078e3dc248758cfd28eab6 /meta | |
parent | 44456859998a1184366572117c7b755ca720855e (diff) | |
download | poky-ee221cdbdda32164fc99860a6e38c0dba1bb3df5.tar.gz |
package_deb.bbclass: Make sure permissions on control directory are correct
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1417 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta')
-rw-r--r-- | meta/classes/package_deb.bbclass | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/classes/package_deb.bbclass b/meta/classes/package_deb.bbclass index 9697426d5d..18cba66da0 100644 --- a/meta/classes/package_deb.bbclass +++ b/meta/classes/package_deb.bbclass | |||
@@ -130,6 +130,7 @@ python do_package_deb () { | |||
130 | continue | 130 | continue |
131 | controldir = os.path.join(root, 'DEBIAN') | 131 | controldir = os.path.join(root, 'DEBIAN') |
132 | bb.mkdirhier(controldir) | 132 | bb.mkdirhier(controldir) |
133 | os.chmod(controldir, 0755) | ||
133 | try: | 134 | try: |
134 | ctrlfile = file(os.path.join(controldir, 'control'), 'wb') | 135 | ctrlfile = file(os.path.join(controldir, 'control'), 'wb') |
135 | # import codecs | 136 | # import codecs |