diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-10-26 11:36:10 +0100 |
---|---|---|
committer | Steve Sakoman <steve@sakoman.com> | 2023-11-24 05:01:37 -1000 |
commit | 2db7c24bd87ec6b685ded8833540b64d4782e8c7 (patch) | |
tree | 9e04189333390ecfd2f773c27f30b486e29dbe96 /meta | |
parent | c7f18e6c43d87d2a90ffffb806fe0e69b93afffa (diff) | |
download | poky-2db7c24bd87ec6b685ded8833540b64d4782e8c7.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: c48206dd82a2faab477002b1ac04d835920755d0)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit fc567e35b374f8b08975602609ee71e64357fb3d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/classes-global/base.bbclass | 2 |
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": |