aboutsummaryrefslogtreecommitdiffstats
path: root/classes/package_deb.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@rpsys.net>2007-04-18 21:22:03 +0000
committerRichard Purdie <rpurdie@rpsys.net>2007-04-18 21:22:03 +0000
commit1a7cff6077b770083062952ef6f6f7517bfd2c07 (patch)
treeb9a061bdf6748a9036b76dacdce8f1902d3d1824 /classes/package_deb.bbclass
parentd003671f7013dd70860e9a8e4ab1414676439461 (diff)
downloadopenembedded-1a7cff6077b770083062952ef6f6f7517bfd2c07.tar.gz
openembedded-1a7cff6077b770083062952ef6f6f7517bfd2c07.tar.bz2
openembedded-1a7cff6077b770083062952ef6f6f7517bfd2c07.zip
classes: Add support for intertask dependencies to be specified, needed for correct operation with bitbake 1.8.x. Old behaviour is maintained in a special legacy anonymous function in base.bbclass. The patch is an improved version of the one discussed on the mailing list.
Diffstat (limited to 'classes/package_deb.bbclass')
-rw-r--r--classes/package_deb.bbclass4
1 files changed, 3 insertions, 1 deletions
diff --git a/classes/package_deb.bbclass b/classes/package_deb.bbclass
index 0c83e58a37..d172fb1766 100644
--- a/classes/package_deb.bbclass
+++ b/classes/package_deb.bbclass
@@ -1,5 +1,7 @@
inherit package
-DEPENDS_prepend="${@["dpkg-native ", ""][(bb.data.getVar('PACKAGES', d, 1) == '')]}"
+
+PACKAGE_EXTRA_DEPENDS += "dpkg-native fakeroot-native"
+
BOOTSTRAP_EXTRA_RDEPENDS += "dpkg"
DISTRO_EXTRA_RDEPENDS += "dpkg"
PACKAGE_WRITE_FUNCS += "do_package_deb"