diff options
| author | Krzysztof Koroscik <soltys@szluug.org> | 2010-08-21 00:26:49 +0000 |
|---|---|---|
| committer | Martin Jansa <Martin.Jansa@gmail.com> | 2010-08-21 12:53:44 +0200 |
| commit | 956a0e475ca5b4be4072e84dc3f748bb2b465e96 (patch) | |
| tree | cf4d3766fcf379d3b575592923396173969fcd9b | |
| parent | bb4a58049e80053b0153ff0e2db0f29e976c8599 (diff) | |
shr: add shr-mirrors.bbclass and make use of it
Signed-off-by: Krzysztof Koroscik <soltys@szluug.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
| -rw-r--r-- | classes/shr-mirrors.bbclass | 13 | ||||
| -rw-r--r-- | conf/distro/shr.conf | 5 |
2 files changed, 17 insertions, 1 deletions
diff --git a/classes/shr-mirrors.bbclass b/classes/shr-mirrors.bbclass new file mode 100644 index 0000000000..92a41ad680 --- /dev/null +++ b/classes/shr-mirrors.bbclass @@ -0,0 +1,13 @@ +PREMIRRORS_append () { +cvs://.*/.* http://build.shr-project.org/sources/ +svn://.*/.* http://build.shr-project.org/sources/ +git://.*/.* http://build.shr-project.org/sources/ +hg://.*/.* http://build.shr-project.org/sources/ +bzr://.*/.* http://build.shr-project.org/sources/ +} + +MIRRORS_append () { +ftp://.*/.* http://build.shr-project.org/sources/ +https?$://.*/.* http://build.shr-project.org/sources/ +} + diff --git a/conf/distro/shr.conf b/conf/distro/shr.conf index e2a8d23146..f7f4cf4945 100644 --- a/conf/distro/shr.conf +++ b/conf/distro/shr.conf @@ -82,7 +82,10 @@ ANGSTROM_BLACKLIST_pn-linux-davinci = "strange kernel, spank maintainer" CVS_TARBALL_STASH += "http://build.shr-project.org/sources/" -PREMIRRORS = "(ftp|https?)$://.*/.* http://build.shr-project.org/sources/" +#The shr-mirrors.bbclass repleaces this +#PREMIRRORS = "(ftp|https?)$://.*/.* http://build.shr-project.org/sources/" +INHERIT += "shr-mirrors" + DISTRO_FEED_PREFIX ?= "shr-dev" DISTRO_FEED_URI ?= "http://build.shr-project.org/shr-testing/ipk" |
