summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2007-08-12 10:04:39 +0000
committerKoen Kooi <koen@openembedded.org>2007-08-12 10:04:39 +0000
commit91ba719f69aa81e8084ac4602268b1d10b55b7dc (patch)
tree7ca007fe502648414c30d8b8048800643a7587c3
parent68ce2211b09ef61659cf2ee7665d545e087335a3 (diff)
parent36f9208ab9b44b30edd8b9981f21a376091aaffc (diff)
merge of '1d466223051b440fb06aab1ad59b32e9d6327361'
and 'fd98012fea1d4da46fcc95cf50ac457d7c7f1023'
-rw-r--r--classes/package_deb.bbclass2
-rw-r--r--classes/package_ipk.bbclass2
2 files changed, 2 insertions, 2 deletions
diff --git a/classes/package_deb.bbclass b/classes/package_deb.bbclass
index 9a8db4f8f2..c322af1f15 100644
--- a/classes/package_deb.bbclass
+++ b/classes/package_deb.bbclass
@@ -130,7 +130,7 @@ python do_package_deb () {
del g[g.index('./DEBIAN')]
except ValueError:
pass
- if not g and not bb.data.getVar('ALLOW_EMPTY', localdata):
+ if not g and bb.data.getVar('ALLOW_EMPTY', localdata) != "1":
from bb import note
note("Not creating empty archive for %s-%s-%s" % (pkg, bb.data.getVar('PV', localdata, 1), bb.data.getVar('PR', localdata, 1)))
continue
diff --git a/classes/package_ipk.bbclass b/classes/package_ipk.bbclass
index b5cc6af3bb..9200055495 100644
--- a/classes/package_ipk.bbclass
+++ b/classes/package_ipk.bbclass
@@ -131,7 +131,7 @@ python do_package_ipk () {
del g[g.index('./CONTROL')]
except ValueError:
pass
- if not g and not bb.data.getVar('ALLOW_EMPTY', localdata):
+ if not g and bb.data.getVar('ALLOW_EMPTY', localdata) != "1":
from bb import note
note("Not creating empty archive for %s-%s-%s" % (pkg, bb.data.getVar('PV', localdata, 1), bb.data.getVar('PR', localdata, 1)))
continue