diff options
author | Stefan Agner <stefan.agner@toradex.com> | 2015-11-03 01:54:34 +0100 |
---|---|---|
committer | Stefan Agner <stefan.agner@toradex.com> | 2015-11-03 01:54:34 +0100 |
commit | 14f270cf9a896c491ce204043df8555186472919 (patch) | |
tree | cd0754dff2273772fb2f0bee5e3c56bbc0316f45 | |
parent | ef33416646c6e8f296b26cfbd4556514db206b7d (diff) |
local.conf: add Toradex source mirror as pre-mirror
To download the sources mirrored on sources.toradex.com add
the Toradex mirror as pre-mirror.
-rw-r--r-- | buildconf/local.conf | 3 | ||||
-rw-r--r-- | classes/toradex-mirrors.bbclass | 13 |
2 files changed, 16 insertions, 0 deletions
diff --git a/buildconf/local.conf b/buildconf/local.conf index 31fc23c..1535ee1 100644 --- a/buildconf/local.conf +++ b/buildconf/local.conf @@ -241,6 +241,9 @@ CONF_VERSION = "1" # Delete the the source/object/binary files once a package is built to preserve disk space INHERIT += "rm_work" +# Add Toradex source mirror +INHERIT += "toradex-mirrors" + # Use this distro DISTRO = "angstrom-v2015.06" diff --git a/classes/toradex-mirrors.bbclass b/classes/toradex-mirrors.bbclass new file mode 100644 index 0000000..07acfc2 --- /dev/null +++ b/classes/toradex-mirrors.bbclass @@ -0,0 +1,13 @@ +PREMIRRORS_append () { +cvs://.*/.* http://sources.toradex.com/V2.5/ +svn://.*/.* http://sources.toradex.com/V2.5/ +git://.*/.* http://sources.toradex.com/V2.5/ +gitsm://.*/.* http://sources.toradex.com/V2.5/ +hg://.*/.* http://sources.toradex.com/V2.5/ +bzr://.*/.* http://sources.toradex.com/V2.5/ +svk://.*/.* http://sources.toradex.com/V2.5/ +p4://.*/.* http://sources.toradex.com/V2.5/ +osc://.*/.* http://sources.toradex.com/V2.5/ +https?$://.*/.* http://sources.toradex.com/V2.5/ +ftp://.*/.* http://sources.toradex.com/V2.5/ +} |