]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commitdiff
base: Ensure recipes using mercurial-native have certificates
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 26 Oct 2023 10:36:10 +0000 (11:36 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 27 Oct 2023 09:53:09 +0000 (10:53 +0100)
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.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes-global/base.bbclass

index f57f9cf827a90132197382fde866eba18debf0eb..ac84312a87fcc677f1fd7b8ca08a3fb56084e972 100644 (file)
@@ -634,7 +634,7 @@ python () {
         # Mercurial packages should DEPEND on mercurial-native
         elif uri.scheme == "hg":
             d.appendVar("EXTRANATIVEPATH", ' python3-native ')
-            d.appendVarFlag('do_fetch', 'depends', ' mercurial-native:do_populate_sysroot')
+            d.appendVarFlag('do_fetch', 'depends', ' mercurial-native:do_populate_sysroot ca-certificates-native:do_populate_sysroot')
 
         # OSC packages should DEPEND on osc-native
         elif uri.scheme == "osc":