own-mirrors.bbclass: allow other settings of PREMIRRORS have effect
cover own-mirrors.bbclass: allow other settings of PREMIRRORS have effect
The following changes since commit 96967261993f8b583b51cdeccbb1fd06042d2192:
bitbake: toaster/highlight.pack.js: Fix corrupted file (2017-10-10 11:05:08 +0100)
are available in the git repository at:
git://git.pokylinux.org/poky-contrib ChenQi/own-mirrors
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=ChenQi/own-mirrors
Chen Qi (1):
own-mirrors.bbclass: allow other settings of PREMIRRORS have effect
meta/classes/own-mirrors.bbclass | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-)
Signature · 1 line
1.9.1
PATCH 1/1 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.
--- meta/classes/own-mirrors.bbclass | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-)
meta/classes/own-mirrors.bbclass +13 -13
@@ -1,13 +1,13 @@ -PREMIRRORS() { -cvs://.*/.* ${SOURCE_MIRROR_URL} -svn://.*/.* ${SOURCE_MIRROR_URL} -git://.*/.* ${SOURCE_MIRROR_URL} -gitsm://.*/.* ${SOURCE_MIRROR_URL} -hg://.*/.* ${SOURCE_MIRROR_URL} -bzr://.*/.* ${SOURCE_MIRROR_URL} -p4://.*/.* ${SOURCE_MIRROR_URL} -osc://.*/.* ${SOURCE_MIRROR_URL} -https?$://.*/.* ${SOURCE_MIRROR_URL} -ftp://.*/.* ${SOURCE_MIRROR_URL} -npm://.*/?.* ${SOURCE_MIRROR_URL} -} +PREMIRRORS_prepend = " \ +cvs://.*/.* ${SOURCE_MIRROR_URL} \n \ +svn://.*/.* ${SOURCE_MIRROR_URL} \n \ +git://.*/.* ${SOURCE_MIRROR_URL} \n \ +gitsm://.*/.* ${SOURCE_MIRROR_URL} \n \ +hg://.*/.* ${SOURCE_MIRROR_URL} \n \ +bzr://.*/.* ${SOURCE_MIRROR_URL} \n \ +p4://.*/.* ${SOURCE_MIRROR_URL} \n \ +osc://.*/.* ${SOURCE_MIRROR_URL} \n \ +https?$://.*/.* ${SOURCE_MIRROR_URL} \n \ +ftp://.*/.* ${SOURCE_MIRROR_URL} \n \ +npm://.*/?.* ${SOURCE_MIRROR_URL} \n \ +"
Signature · 1 line
1.9.1