diff options
author | Peter Kjellerstedt <peter.kjellerstedt@axis.com> | 2021-11-11 00:18:53 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-11-11 17:09:17 +0000 |
commit | 021b76a856bafc7e09c0e6fec0e8a88353cbe7bd (patch) | |
tree | 522303500171a8142e9093b7d0349f574ced7d0a | |
parent | a3ba0a54fecfdad06fc9ab4e5923c21563776aa2 (diff) | |
download | poky-021b76a856bafc7e09c0e6fec0e8a88353cbe7bd.tar.gz |
own-mirrors.bbclass: Clean up the additions to PREMIRRORS
* Since commit ce0579dc in bitbake (fetch2: Revert the regexp removal
for the type field and instead anchor regexp) the type regexp has
been automatically anchored at the end.
* Since commit 044fb04d in bitbake (fetch2: Allow whitespace only mirror
entries) there is no need to separate the entries in PREMIRRORS with
"\n".
(From OE-Core rev: 1edc5e689d54b788c35ece14e0dbd76ec545f3ee)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/classes/own-mirrors.bbclass | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/meta/classes/own-mirrors.bbclass b/meta/classes/own-mirrors.bbclass index e244de592d..ef972740ce 100644 --- a/meta/classes/own-mirrors.bbclass +++ b/meta/classes/own-mirrors.bbclass | |||
@@ -1,14 +1,14 @@ | |||
1 | PREMIRRORS:prepend = " \ | 1 | PREMIRRORS:prepend = " \ |
2 | cvs://.*/.* ${SOURCE_MIRROR_URL} \n \ | 2 | cvs://.*/.* ${SOURCE_MIRROR_URL} \ |
3 | svn://.*/.* ${SOURCE_MIRROR_URL} \n \ | 3 | svn://.*/.* ${SOURCE_MIRROR_URL} \ |
4 | git://.*/.* ${SOURCE_MIRROR_URL} \n \ | 4 | git://.*/.* ${SOURCE_MIRROR_URL} \ |
5 | gitsm://.*/.* ${SOURCE_MIRROR_URL} \n \ | 5 | gitsm://.*/.* ${SOURCE_MIRROR_URL} \ |
6 | hg://.*/.* ${SOURCE_MIRROR_URL} \n \ | 6 | hg://.*/.* ${SOURCE_MIRROR_URL} \ |
7 | bzr://.*/.* ${SOURCE_MIRROR_URL} \n \ | 7 | bzr://.*/.* ${SOURCE_MIRROR_URL} \ |
8 | p4://.*/.* ${SOURCE_MIRROR_URL} \n \ | 8 | p4://.*/.* ${SOURCE_MIRROR_URL} \ |
9 | osc://.*/.* ${SOURCE_MIRROR_URL} \n \ | 9 | osc://.*/.* ${SOURCE_MIRROR_URL} \ |
10 | https?$://.*/.* ${SOURCE_MIRROR_URL} \n \ | 10 | https?://.*/.* ${SOURCE_MIRROR_URL} \ |
11 | ftp://.*/.* ${SOURCE_MIRROR_URL} \n \ | 11 | ftp://.*/.* ${SOURCE_MIRROR_URL} \ |
12 | npm://.*/?.* ${SOURCE_MIRROR_URL} \n \ | 12 | npm://.*/?.* ${SOURCE_MIRROR_URL} \ |
13 | s3://.*/.* ${SOURCE_MIRROR_URL} \n \ | 13 | s3://.*/.* ${SOURCE_MIRROR_URL} \ |
14 | " | 14 | " |