shr: add shr-mirrors.bbclass and make use of it
PATCH 1/1 shr: add shr-mirrors.bbclass and make use of it
Signed-off-by Krzysztof Koroscik <[email protected]>
--- classes/shr-mirrors.bbclass | 13 +++++++++++++ conf/distro/shr.conf | 5 ++++- 2 files changed, 17 insertions(+), 1 deletions(-) create mode 100644 classes/shr-mirrors.bbclass
classes/shr-mirrors.bbclass new file +13 -0
@@ -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/ +} +
conf/distro/shr.conf +4 -1
@@ -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"
Signature · 1 line
1.6.4