diff options
author | Chen Qi <Qi.Chen@windriver.com> | 2017-10-11 15:00:01 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-10-16 23:52:44 +0100 |
commit | aff0179aaba1c6ce7f3a4e02832eaed67ec34304 (patch) | |
tree | 8bd391024727aa1624f10f331b2e56fe08e9b0ff /meta/classes | |
parent | 640a205c8050a0d111c5b847a72053e966e3eae1 (diff) | |
download | poky-aff0179aaba1c6ce7f3a4e02832eaed67ec34304.tar.gz |
own-mirrors.bbclass: allow other settings of PREMIRRORS have effect
If we inherit own-mirrors.bbclass, other settings of PREMIRRORS in
our project would have no effect.
This patch modifies the setting in own-mirrors.bbclass to allow other
settings of PREMIRRORS to still have effect.
(From OE-Core rev: a3e9e7a38b3d9caed49380ebc05651a97f613c7c)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/own-mirrors.bbclass | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/meta/classes/own-mirrors.bbclass b/meta/classes/own-mirrors.bbclass index 0296d545be..a777835138 100644 --- a/meta/classes/own-mirrors.bbclass +++ b/meta/classes/own-mirrors.bbclass | |||
@@ -1,13 +1,13 @@ | |||
1 | PREMIRRORS() { | 1 | PREMIRRORS_prepend = " \ |
2 | cvs://.*/.* ${SOURCE_MIRROR_URL} | 2 | cvs://.*/.* ${SOURCE_MIRROR_URL} \n \ |
3 | svn://.*/.* ${SOURCE_MIRROR_URL} | 3 | svn://.*/.* ${SOURCE_MIRROR_URL} \n \ |
4 | git://.*/.* ${SOURCE_MIRROR_URL} | 4 | git://.*/.* ${SOURCE_MIRROR_URL} \n \ |
5 | gitsm://.*/.* ${SOURCE_MIRROR_URL} | 5 | gitsm://.*/.* ${SOURCE_MIRROR_URL} \n \ |
6 | hg://.*/.* ${SOURCE_MIRROR_URL} | 6 | hg://.*/.* ${SOURCE_MIRROR_URL} \n \ |
7 | bzr://.*/.* ${SOURCE_MIRROR_URL} | 7 | bzr://.*/.* ${SOURCE_MIRROR_URL} \n \ |
8 | p4://.*/.* ${SOURCE_MIRROR_URL} | 8 | p4://.*/.* ${SOURCE_MIRROR_URL} \n \ |
9 | osc://.*/.* ${SOURCE_MIRROR_URL} | 9 | osc://.*/.* ${SOURCE_MIRROR_URL} \n \ |
10 | https?$://.*/.* ${SOURCE_MIRROR_URL} | 10 | https?$://.*/.* ${SOURCE_MIRROR_URL} \n \ |
11 | ftp://.*/.* ${SOURCE_MIRROR_URL} | 11 | ftp://.*/.* ${SOURCE_MIRROR_URL} \n \ |
12 | npm://.*/?.* ${SOURCE_MIRROR_URL} | 12 | npm://.*/?.* ${SOURCE_MIRROR_URL} \n \ |
13 | } | 13 | " |