diff options
author | Richard Purdie <rpurdie@rpsys.net> | 2007-08-07 15:03:19 +0000 |
---|---|---|
committer | Richard Purdie <rpurdie@rpsys.net> | 2007-08-07 15:03:19 +0000 |
commit | 933172af0a4715960c3a7dd8c716ff2d9c1f4080 (patch) | |
tree | 85edebf080f56054cf4385d6eb049fb07a8d4fb6 /classes/package_deb.bbclass | |
parent | a3e805ea4621615d52d3019e95cabc27ca8c770e (diff) |
package_deb/rootfs_deb.bbclass: Sync fixes from Poky
Diffstat (limited to 'classes/package_deb.bbclass')
-rw-r--r-- | classes/package_deb.bbclass | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/classes/package_deb.bbclass b/classes/package_deb.bbclass index d172fb1766..9a8db4f8f2 100644 --- a/classes/package_deb.bbclass +++ b/classes/package_deb.bbclass @@ -1,3 +1,7 @@ +# +# Copyright 2006-2007 OpenedHand Ltd. +# + inherit package PACKAGE_EXTRA_DEPENDS += "dpkg-native fakeroot-native" @@ -132,6 +136,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 @@ -150,7 +155,7 @@ python do_package_deb () { fields.append(["Priority: %s\n", ['PRIORITY']]) fields.append(["Maintainer: %s\n", ['MAINTAINER']]) fields.append(["Architecture: %s\n", ['TARGET_ARCH']]) - fields.append(["OE: %s\n", ['P']]) + fields.append(["OE: %s\n", ['PN']]) fields.append(["Homepage: %s\n", ['HOMEPAGE']]) # Package, Version, Maintainer, Description - mandatory |