diff options
Diffstat (limited to 'meta/classes/package.bbclass')
-rw-r--r-- | meta/classes/package.bbclass | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass index 0919f302b9..4aeb00d3ab 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 | |||
116 | 116 | ||
117 | bb.data.setVar('PACKAGES', ' '.join(packages), d) | 117 | bb.data.setVar('PACKAGES', ' '.join(packages), d) |
118 | 118 | ||
119 | do_package[depends] = "file-native:do_populate_staging" | ||
120 | |||
121 | python () { | 119 | python () { |
122 | import bb | 120 | import bb |
123 | 121 | ||
124 | if bb.data.getVar('PACKAGES', d, 1) != '': | 122 | if bb.data.getVar('PACKAGES', d, 1) != '': |
123 | bb.data.setVarFlag('do_package', 'depends', 'file-native:do_populate_staging', d) | ||
125 | deps = bb.data.getVarFlag('do_package_write', 'depends', d) or "" | 124 | deps = bb.data.getVarFlag('do_package_write', 'depends', d) or "" |
126 | for dep in (bb.data.getVar('PACKAGE_EXTRA_DEPENDS', d, 1) or "").split(): | 125 | for dep in (bb.data.getVar('PACKAGE_EXTRA_DEPENDS', d, 1) or "").split(): |
127 | deps += " %s:do_populate_staging" % dep | 126 | deps += " %s:do_populate_staging" % dep |