summaryrefslogtreecommitdiff
path: root/meta/classes/package.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2007-04-03 11:46:15 +0000
committerRichard Purdie <richard@openedhand.com>2007-04-03 11:46:15 +0000
commit69fbfd5c6943d44fbcf9a747ef26a1eac426d5e8 (patch)
treeadeed4bd9d5465b1988e09f42db4735226b7e7b5 /meta/classes/package.bbclass
parent409335beaede58ed792030f9da0fcea39f32f1c7 (diff)
downloadopenembedded-core-69fbfd5c6943d44fbcf9a747ef26a1eac426d5e8.tar.gz
openembedded-core-69fbfd5c6943d44fbcf9a747ef26a1eac426d5e8.tar.bz2
openembedded-core-69fbfd5c6943d44fbcf9a747ef26a1eac426d5e8.tar.xz
openembedded-core-69fbfd5c6943d44fbcf9a747ef26a1eac426d5e8.zip
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/package.bbclass')
-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