summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2007-03-31 14:04:49 +0000
committerRichard Purdie <richard@openedhand.com>2007-03-31 14:04:49 +0000
commitee221cdbdda32164fc99860a6e38c0dba1bb3df5 (patch)
treee7a6752418f9a5d05e078e3dc248758cfd28eab6
parent44456859998a1184366572117c7b755ca720855e (diff)
downloadopenembedded-core-ee221cdbdda32164fc99860a6e38c0dba1bb3df5.tar.gz
openembedded-core-ee221cdbdda32164fc99860a6e38c0dba1bb3df5.tar.bz2
openembedded-core-ee221cdbdda32164fc99860a6e38c0dba1bb3df5.zip
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
-rw-r--r--meta/classes/package_deb.bbclass1
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 () {
continue
controldir = os.path.join(root, 'DEBIAN')
bb.mkdirhier(controldir)
+ os.chmod(controldir, 0755)
try:
ctrlfile = file(os.path.join(controldir, 'control'), 'wb')
# import codecs