summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--meta/classes/package.bbclass3
1 files changed, 1 insertions, 2 deletions
diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass
index 0919f302b..4aeb00d3a 100644
--- a/meta/classes/package.bbclass
+++ b/meta/classes/package.bbclass
@@ -116,12 +116,11 @@ def do_split_packages(d, root, file_regex, output_pattern, description, postinst
bb.data.setVar('PACKAGES', ' '.join(packages), d)
-do_package[depends] = "file-native:do_populate_staging"
-
python () {
import bb
if bb.data.getVar('PACKAGES', d, 1) != '':
+ bb.data.setVarFlag('do_package', 'depends', 'file-native:do_populate_staging', d)
deps = bb.data.getVarFlag('do_package_write', 'depends', d) or ""
for dep in (bb.data.getVar('PACKAGE_EXTRA_DEPENDS', d, 1) or "").split():
deps += " %s:do_populate_staging" % dep