From 69fbfd5c6943d44fbcf9a747ef26a1eac426d5e8 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Tue, 3 Apr 2007 11:46:15 +0000 Subject: 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 --- meta/classes/package.bbclass | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'meta/classes/package.bbclass') 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 -- cgit v1.2.3