[oe-commits] org.oe.dev own-mirrors.bbclass: added class which can be used to set PREMIRRORS from config
hrw commit
openembedded-commits at lists.openembedded.org
Sat Mar 10 14:12:41 UTC 2007
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.
Author: hrw at openembedded.org
Branch: org.openembedded.dev
Revision: 7b2d2094f68ede9c9d5e10c5722472d35573e9b1
ViewMTN: http://monotone.openembedded.org/revision.psp?id=7b2d2094f68ede9c9d5e10c5722472d35573e9b1
Files:
1
classes/own-mirrors.bbclass
conf/documentation.conf
Diffs:
#
# mt diff -rf8540a79cd78aeb651dc7a856ea324e6a8612b4c -r7b2d2094f68ede9c9d5e10c5722472d35573e9b1
#
#
#
# add_file "classes/own-mirrors.bbclass"
# content [b479f189f6e4ec3bbfc821afce081de6cabe4a0c]
#
# patch "conf/documentation.conf"
# from [ac9f094a78d306722b78379023e1b2c7dde6ce7b]
# to [373aae66b0360765681fefbf083525f28978c680]
#
============================================================
--- classes/own-mirrors.bbclass b479f189f6e4ec3bbfc821afce081de6cabe4a0c
+++ classes/own-mirrors.bbclass b479f189f6e4ec3bbfc821afce081de6cabe4a0c
@@ -0,0 +1,4 @@
+PREMIRRORS() {
+http://.*/.* ${SOURCE_MIRROR_URL}
+ftp://.*/.* ${SOURCE_MIRROR_URL}
+}
============================================================
--- conf/documentation.conf ac9f094a78d306722b78379023e1b2c7dde6ce7b
+++ conf/documentation.conf 373aae66b0360765681fefbf083525f28978c680
@@ -105,6 +105,7 @@ SOURCE_MIRROR_FETCH[doc] = "Switch marki
COMPATIBLE_MACHINE[doc] = "A regular expression which matches the MACHINES support by the package/file. Failure to match will cause the file to be skipped by the parser."
SOURCE_MIRROR_FETCH[doc] = "Switch marking build as source fetcher. Used to skip COMPATIBLE_* checking."
+SOURCE_MIRROR_URL[doc] = "URL to source mirror which will be used before fetching from original SRC_URI."
BBINCLUDELOGS[doc] = "Boolean switch to get log printed on failure."
BBINCLUDELOGS_LINES[doc] = "Amount of log lines printed on failure."
More information about the Openembedded-commits
mailing list