diff options
author | Richard Purdie <richard@openedhand.com> | 2007-08-03 14:42:18 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2007-08-03 14:42:18 +0000 |
commit | 029c2a15754760b3e7e41fce3720d76a7764a669 (patch) | |
tree | f69ae57c7889c4eaf9623ae7b55ed32b0f84019f | |
parent | 4df629aa49a79ae77f4e5448547fc3390b2555ba (diff) | |
download | poky-029c2a15754760b3e7e41fce3720d76a7764a669.tar.gz |
base.bbclass: Correct git-native autodependencies
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2351 311d38ba-8fff-0310-9ca6-ca027cbcb966
-rw-r--r-- | meta/classes/base.bbclass | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass index b1bf0b5697..b29010c9d5 100644 --- a/meta/classes/base.bbclass +++ b/meta/classes/base.bbclass | |||
@@ -721,9 +721,9 @@ def base_after_parse(d): | |||
721 | # Git packages should DEPEND on git-native | 721 | # Git packages should DEPEND on git-native |
722 | srcuri = bb.data.getVar('SRC_URI', d, 1) | 722 | srcuri = bb.data.getVar('SRC_URI', d, 1) |
723 | if "git://" in srcuri: | 723 | if "git://" in srcuri: |
724 | depends = bb.data.getVar('DEPENDS', d, 1) | 724 | depends = bb.data.getVarFlag('do_fetch', 'depends', d) or "" |
725 | depends = depends + " git-native" | 725 | depends = depends + " git-native:do_populate_staging" |
726 | bb.data.setVar('DEPENDS', depends, d) | 726 | bb.data.setVarFlag('do_fetch', 'depends', depends, d) |
727 | 727 | ||
728 | mach_arch = bb.data.getVar('MACHINE_ARCH', d, 1) | 728 | mach_arch = bb.data.getVar('MACHINE_ARCH', d, 1) |
729 | old_arch = bb.data.getVar('PACKAGE_ARCH', d, 1) | 729 | old_arch = bb.data.getVar('PACKAGE_ARCH', d, 1) |