From 1b661974e3f8f844f6ec4cdb7bb42cef9595b626 Mon Sep 17 00:00:00 2001 From: Marcin Juszkiewicz Date: Sat, 10 Mar 2007 14:10:06 +0000 Subject: own-mirrors.bbclass: added class which can be used to set PREMIRRORS from config - SOURCE_MIRROR_URL is new variable which point to source mirror which will be used before fetching from original SRC_URI location. --- classes/own-mirrors.bbclass | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 classes/own-mirrors.bbclass (limited to 'classes/own-mirrors.bbclass') diff --git a/classes/own-mirrors.bbclass b/classes/own-mirrors.bbclass new file mode 100644 index 0000000000..32763ed24f --- /dev/null +++ b/classes/own-mirrors.bbclass @@ -0,0 +1,4 @@ +PREMIRRORS() { +http://.*/.* ${SOURCE_MIRROR_URL} +ftp://.*/.* ${SOURCE_MIRROR_URL} +} -- cgit v1.2.3