diff options
Diffstat (limited to 'meta/classes/base.bbclass')
-rw-r--r-- | meta/classes/base.bbclass | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass index 4f1e2dd788..4f57c3ff4d 100644 --- a/meta/classes/base.bbclass +++ b/meta/classes/base.bbclass | |||
@@ -1008,6 +1008,13 @@ def base_after_parse(d): | |||
1008 | depends = depends + " git-native:do_populate_staging" | 1008 | depends = depends + " git-native:do_populate_staging" |
1009 | bb.data.setVarFlag('do_fetch', 'depends', depends, d) | 1009 | bb.data.setVarFlag('do_fetch', 'depends', depends, d) |
1010 | 1010 | ||
1011 | # Mercurial packages should DEPEND on mercurial-native | ||
1012 | srcuri = bb.data.getVar('SRC_URI', d, 1) | ||
1013 | if "hg://" in srcuri: | ||
1014 | depends = bb.data.getVarFlag('do_fetch', 'depends', d) or "" | ||
1015 | depends = depends + " mercurial-native:do_populate_staging" | ||
1016 | bb.data.setVarFlag('do_fetch', 'depends', depends, d) | ||
1017 | |||
1011 | # OSC packages should DEPEND on osc-native | 1018 | # OSC packages should DEPEND on osc-native |
1012 | srcuri = bb.data.getVar('SRC_URI', d, 1) | 1019 | srcuri = bb.data.getVar('SRC_URI', d, 1) |
1013 | if "osc://" in srcuri: | 1020 | if "osc://" in srcuri: |