[PATCH 3/4] bitbake-setup: add contrib extra-remotes to default-registry configs

AdrianF <[email protected]>
Newsgroups org.openembedded.lists.bitbake-devel
Message-ID <[email protected]>
From: Adrian Freihofer <[email protected]>

Extend the default-registry configurations with 'contrib' extra-remotes
for the bitbake, openembedded-core, and meta-yocto layer sources.

The contrib remotes point to the SSH push mirrors on push.openembedded.org
and are marked optional=true, meaning they are excluded by the default
'non-optional' filter and must be explicitly requested via:

    bitbake-setup init --extra-remotes-filter all ...
    bitbake-setup init --extra-remotes-filter contrib ...

Signed-off-by: Adrian Freihofer <[email protected]>
---
 .../oe-nodistro-master.conf.json              | 16 +++++++++++--
 .../oe-nodistro-whinlatter.conf.json          | 16 +++++++++++--
 .../configurations/poky-master.conf.json      | 24 ++++++++++++++++---
 .../configurations/poky-whinlatter.conf.json  | 24 ++++++++++++++++---
 4 files changed, 70 insertions(+), 10 deletions(-)

diff --git a/default-registry/configurations/oe-nodistro-master.conf.json b/default-registry/configurations/oe-nodistro-master.conf.json
index 5aa148d42..c06f5602a 100644
--- a/default-registry/configurations/oe-nodistro-master.conf.json
+++ b/default-registry/configurations/oe-nodistro-master.conf.json
@@ -5,14 +5,26 @@
             "git-remote": {
                 "uri": "https://git.openembedded.org/bitbake",
                 "branch": "master",
-                "rev": "master"
+                "rev": "master",
+                "extra-remotes": {
+                    "contrib": {
+                        "uri": "ssh://[email protected]/bitbake-contrib",
+                        "optional": true
+                    }
+                }
             }
         },
         "openembedded-core": {
             "git-remote": {
                 "uri": "https://git.openembedded.org/openembedded-core",
                 "branch": "master",
-                "rev": "master"
+                "rev": "master",
+                "extra-remotes": {
+                    "contrib": {
+                        "uri": "ssh://[email protected]/openembedded-core-contrib",
+                        "optional": true
+                    }
+                }
             }
         },
         "yocto-docs": {
diff --git a/default-registry/configurations/oe-nodistro-whinlatter.conf.json b/default-registry/configurations/oe-nodistro-whinlatter.conf.json
index 7b183ae1c..b8d5b1eca 100644
--- a/default-registry/configurations/oe-nodistro-whinlatter.conf.json
+++ b/default-registry/configurations/oe-nodistro-whinlatter.conf.json
@@ -10,7 +10,13 @@
                     }
                 },
                 "branch": "2.16",
-                "rev": "2.16"
+                "rev": "2.16",
+                "extra-remotes": {
+                    "contrib": {
+                        "uri": "ssh://[email protected]/bitbake-contrib",
+                        "optional": true
+                    }
+                }
             }
         },
         "openembedded-core": {
@@ -21,7 +27,13 @@
                     }
                 },
                 "branch": "whinlatter",
-                "rev": "whinlatter"
+                "rev": "whinlatter",
+                "extra-remotes": {
+                    "contrib": {
+                        "uri": "ssh://[email protected]/openembedded-core-contrib",
+                        "optional": true
+                    }
+                }
             }
         },
         "yocto-docs": {
diff --git a/default-registry/configurations/poky-master.conf.json b/default-registry/configurations/poky-master.conf.json
index 58d379648..bb7c53e10 100644
--- a/default-registry/configurations/poky-master.conf.json
+++ b/default-registry/configurations/poky-master.conf.json
@@ -5,21 +5,39 @@
             "git-remote": {
                 "uri": "https://git.openembedded.org/bitbake",
                 "branch": "master",
-                "rev": "master"
+                "rev": "master",
+                "extra-remotes": {
+                    "contrib": {
+                        "uri": "ssh://[email protected]/bitbake-contrib",
+                        "optional": true
+                    }
+                }
             }
         },
         "openembedded-core": {
             "git-remote": {
                 "uri": "https://git.openembedded.org/openembedded-core",
                 "branch": "master",
-                "rev": "master"
+                "rev": "master",
+                "extra-remotes": {
+                    "contrib": {
+                        "uri": "ssh://[email protected]/openembedded-core-contrib",
+                        "optional": true
+                    }
+                }
             }
         },
         "meta-yocto": {
             "git-remote": {
                 "uri": "https://git.yoctoproject.org/meta-yocto",
                 "branch": "master",
-                "rev": "master"
+                "rev": "master",
+                "extra-remotes": {
+                    "contrib": {
+                        "uri": "ssh://[email protected]/meta-yocto-contrib",
+                        "optional": true
+                    }
+                }
             }
         },
         "yocto-docs": {
diff --git a/default-registry/configurations/poky-whinlatter.conf.json b/default-registry/configurations/poky-whinlatter.conf.json
index 4827ebe11..ba82c5ed6 100644
--- a/default-registry/configurations/poky-whinlatter.conf.json
+++ b/default-registry/configurations/poky-whinlatter.conf.json
@@ -10,7 +10,13 @@
                     }
                 },
                 "branch": "2.16",
-                "rev": "2.16"
+                "rev": "2.16",
+                "extra-remotes": {
+                    "contrib": {
+                        "uri": "ssh://[email protected]/bitbake-contrib",
+                        "optional": true
+                    }
+                }
             }
         },
         "openembedded-core": {
@@ -21,7 +27,13 @@
                     }
                 },
                 "branch": "whinlatter",
-                "rev": "whinlatter"
+                "rev": "whinlatter",
+                "extra-remotes": {
+                    "contrib": {
+                        "uri": "ssh://[email protected]/openembedded-core-contrib",
+                        "optional": true
+                    }
+                }
             }
         },
         "meta-yocto": {
@@ -32,7 +44,13 @@
                     }
                 },
                 "branch": "whinlatter",
-                "rev": "whinlatter"
+                "rev": "whinlatter",
+                "extra-remotes": {
+                    "contrib": {
+                        "uri": "ssh://[email protected]/meta-yocto-contrib",
+                        "optional": true
+                    }
+                }
             }
         },
         "yocto-docs": {
-- 
2.53.0
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.