summaryrefslogtreecommitdiffstats
path: root/meta/classes-global
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2023-10-26 11:36:10 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-10-27 10:53:43 +0100
commitaf339676ee8b364849dc8eb8f5b8ff5f0db40f4e (patch)
treeb452234e6242dcc20a40961c31c9527bcee40657 /meta/classes-global
parent2cf13f251392dd31c55ef49ed8ba037ac4216934 (diff)
downloadpoky-af339676ee8b364849dc8eb8f5b8ff5f0db40f4e.tar.gz
base: Ensure recipes using mercurial-native have certificates
If you try and fetch using mercurial-native, you see certificate errors since it is configured to find ones in the sysroot, not the system. Add the missing dependency so that mercurial recipes using the native tool work. Found trying to make mirroring for old meta-oe stable branches work. (From OE-Core rev: fc567e35b374f8b08975602609ee71e64357fb3d) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes-global')
-rw-r--r--meta/classes-global/base.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes-global/base.bbclass b/meta/classes-global/base.bbclass
index f57f9cf827..ac84312a87 100644
--- a/meta/classes-global/base.bbclass
+++ b/meta/classes-global/base.bbclass
@@ -634,7 +634,7 @@ python () {
634 # Mercurial packages should DEPEND on mercurial-native 634 # Mercurial packages should DEPEND on mercurial-native
635 elif uri.scheme == "hg": 635 elif uri.scheme == "hg":
636 d.appendVar("EXTRANATIVEPATH", ' python3-native ') 636 d.appendVar("EXTRANATIVEPATH", ' python3-native ')
637 d.appendVarFlag('do_fetch', 'depends', ' mercurial-native:do_populate_sysroot') 637 d.appendVarFlag('do_fetch', 'depends', ' mercurial-native:do_populate_sysroot ca-certificates-native:do_populate_sysroot')
638 638
639 # OSC packages should DEPEND on osc-native 639 # OSC packages should DEPEND on osc-native
640 elif uri.scheme == "osc": 640 elif uri.scheme == "osc":