summaryrefslogtreecommitdiffstats
path: root/meta/classes/package_deb.bbclass
diff options
context:
space:
mode:
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 eb8895e64a..ef0eacf44f 100644
--- a/meta/classes/package_deb.bbclass
+++ b/meta/classes/package_deb.bbclass
@@ -266,7 +266,10 @@ python do_package_deb () {
266python () { 266python () {
267 import bb 267 import bb
268 if bb.data.getVar('PACKAGES', d, True) != '': 268 if bb.data.getVar('PACKAGES', d, True) != '':
269 bb.data.setVarFlag('do_package_write_deb', 'depends', 'dpkg-native:do_populate_staging fakeroot-native:do_populate_staging', d) 269 deps = (bb.data.getVarFlag('do_package_write_deb', 'depends', d) or "").split()
270 deps.append('dpkg-native:do_populate_staging')
271 deps.append('fakeroot-native:do_populate_staging')
272 bb.data.setVarFlag('do_package_write_deb', 'depends', " ".join(deps), d)
270} 273}
271 274
272python do_package_write_deb () { 275python do_package_write_deb () {