summaryrefslogtreecommitdiff
path: root/meta/classes/package_deb.bbclass
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@openedhand.com>2007-11-28 20:01:41 +0000
committerMarcin Juszkiewicz <hrw@openedhand.com>2007-11-28 20:01:41 +0000
commitd862b5758c48968e6b40597b60d31673b61007a1 (patch)
treee18efc8db2e9dd079d5ba012ecd0fddaf6d34215 /meta/classes/package_deb.bbclass
parent91225da5b854cc0b6416041b47762841eb53b606 (diff)
downloadopenembedded-core-d862b5758c48968e6b40597b60d31673b61007a1.tar.gz
openembedded-core-d862b5758c48968e6b40597b60d31673b61007a1.tar.bz2
openembedded-core-d862b5758c48968e6b40597b60d31673b61007a1.tar.xz
openembedded-core-d862b5758c48968e6b40597b60d31673b61007a1.zip
package_{ipk|deb|tar|rpm): append depend-tasks instead of overwriting
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3265 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/classes/package_deb.bbclass')
-rw-r--r--meta/classes/package_deb.bbclass5
1 files changed, 4 insertions, 1 deletions
diff --git a/meta/classes/package_deb.bbclass b/meta/classes/package_deb.bbclass
index eb8895e64..ef0eacf44 100644
--- a/meta/classes/package_deb.bbclass
+++ b/meta/classes/package_deb.bbclass
@@ -266,7 +266,10 @@ python do_package_deb () {
python () {
import bb
if bb.data.getVar('PACKAGES', d, True) != '':
- bb.data.setVarFlag('do_package_write_deb', 'depends', 'dpkg-native:do_populate_staging fakeroot-native:do_populate_staging', d)
+ deps = (bb.data.getVarFlag('do_package_write_deb', 'depends', d) or "").split()
+ deps.append('dpkg-native:do_populate_staging')
+ deps.append('fakeroot-native:do_populate_staging')
+ bb.data.setVarFlag('do_package_write_deb', 'depends', " ".join(deps), d)
}
python do_package_write_deb () {