diff options
author | Richard Purdie <richard@openedhand.com> | 2007-09-01 23:49:12 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2007-09-01 23:49:12 +0000 |
commit | 63b739f0fe03873402731f0cf9992551540c16df (patch) | |
tree | fa3f2ef3988648402d2bdacaa72aab73f29a2f77 /meta/classes/package_deb.bbclass | |
parent | 8d342dc0569fb4274b8ac9dfe40b1ce8543799f4 (diff) | |
download | poky-63b739f0fe03873402731f0cf9992551540c16df.tar.gz |
classes: Sync various tweaks from OE
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2643 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/classes/package_deb.bbclass')
-rw-r--r-- | meta/classes/package_deb.bbclass | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/meta/classes/package_deb.bbclass b/meta/classes/package_deb.bbclass index 550436a5eb..2ab537f174 100644 --- a/meta/classes/package_deb.bbclass +++ b/meta/classes/package_deb.bbclass | |||
@@ -136,7 +136,7 @@ python do_package_deb () { | |||
136 | del g[g.index('./DEBIAN')] | 136 | del g[g.index('./DEBIAN')] |
137 | except ValueError: | 137 | except ValueError: |
138 | pass | 138 | pass |
139 | if not g and not bb.data.getVar('ALLOW_EMPTY', localdata): | 139 | if not g and bb.data.getVar('ALLOW_EMPTY', localdata) != "1": |
140 | from bb import note | 140 | from bb import note |
141 | note("Not creating empty archive for %s-%s-%s" % (pkg, bb.data.getVar('PV', localdata, 1), bb.data.getVar('PR', localdata, 1))) | 141 | note("Not creating empty archive for %s-%s-%s" % (pkg, bb.data.getVar('PV', localdata, 1), bb.data.getVar('PR', localdata, 1))) |
142 | unlockfile(lf) | 142 | unlockfile(lf) |
@@ -253,7 +253,6 @@ python do_package_deb () { | |||
253 | os.rmdir(controldir) | 253 | os.rmdir(controldir) |
254 | except OSError: | 254 | except OSError: |
255 | pass | 255 | pass |
256 | del localdata | ||
257 | 256 | ||
258 | unlockfile(lf) | 257 | unlockfile(lf) |
259 | } | 258 | } |