diff options
author | Richard Purdie <richard@openedhand.com> | 2007-04-03 11:46:15 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2007-04-03 11:46:15 +0000 |
commit | 69fbfd5c6943d44fbcf9a747ef26a1eac426d5e8 (patch) | |
tree | adeed4bd9d5465b1988e09f42db4735226b7e7b5 /meta/classes | |
parent | 409335beaede58ed792030f9da0fcea39f32f1c7 (diff) | |
download | poky-69fbfd5c6943d44fbcf9a747ef26a1eac426d5e8.tar.gz |
package.bbclass: Only need file-native if packaging
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1428 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/classes')
-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 |