diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2010-12-21 17:18:48 +0000 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-12-21 17:18:48 +0000 |
commit | 642dd32920f62e991e4ca629ed304b95b37ce1ef (patch) | |
tree | fcb41c69469fae6f1683259b6dcd2c3831e19291 | |
parent | 3bda5b1301df902e86619527b9bae4b9dc9af35b (diff) | |
download | poky-642dd32920f62e991e4ca629ed304b95b37ce1ef.tar.gz |
poky.bbclass: Move mirrors/premirrors to poky.conf
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
-rw-r--r-- | meta/classes/poky.bbclass | 29 | ||||
-rw-r--r-- | meta/conf/distro/poky.conf | 28 |
2 files changed, 27 insertions, 30 deletions
diff --git a/meta/classes/poky.bbclass b/meta/classes/poky.bbclass deleted file mode 100644 index 7d3c28ffe2..0000000000 --- a/meta/classes/poky.bbclass +++ /dev/null | |||
@@ -1,29 +0,0 @@ | |||
1 | PREMIRRORS_append () { | ||
2 | bzr://.*/.* http://pokylinux.org/sources/ | ||
3 | cvs://.*/.* http://pokylinux.org/sources/ | ||
4 | git://.*/.* http://pokylinux.org/sources/ | ||
5 | hg://.*/.* http://pokylinux.org/sources/ | ||
6 | osc://.*/.* http://pokylinux.org/sources/ | ||
7 | p4://.*/.* http://pokylinux.org/sources/ | ||
8 | svk://.*/.* http://pokylinux.org/sources/ | ||
9 | svn://.*/.* http://pokylinux.org/sources/ | ||
10 | |||
11 | bzr://.*/.* http://autobuilder.pokylinux.org/sources/ | ||
12 | cvs://.*/.* http://autobuilder.pokylinux.org/sources/ | ||
13 | git://.*/.* http://autobuilder.pokylinux.org/sources/ | ||
14 | hg://.*/.* http://autobuilder.pokylinux.org/sources/ | ||
15 | osc://.*/.* http://autobuilder.pokylinux.org/sources/ | ||
16 | p4://.*/.* http://autobuilder.pokylinux.org/sources/ | ||
17 | svk://.*/.* http://autobuilder.pokylinux.org/sources/ | ||
18 | svn://.*/.* http://autobuilder.pokylinux.org/sources/ | ||
19 | } | ||
20 | |||
21 | MIRRORS_append () { | ||
22 | ftp://.*/.* http://pokylinux.org/sources/ | ||
23 | http://.*/.* http://pokylinux.org/sources/ | ||
24 | https://.*/.* http://pokylinux.org/sources/ | ||
25 | |||
26 | ftp://.*/.* http://autobuilder.pokylinux.org/sources/ | ||
27 | http://.*/.* http://autobuilder.pokylinux.org/sources/ | ||
28 | https://.*/.* http://autobuilder.pokylinux.org/sources/ | ||
29 | } | ||
diff --git a/meta/conf/distro/poky.conf b/meta/conf/distro/poky.conf index ee390dca85..fe2d49a3a9 100644 --- a/meta/conf/distro/poky.conf +++ b/meta/conf/distro/poky.conf | |||
@@ -12,7 +12,7 @@ USER_CLASSES ?= "" | |||
12 | 12 | ||
13 | PACKAGE_CLASSES ?= "package_ipk" | 13 | PACKAGE_CLASSES ?= "package_ipk" |
14 | INHERIT_INSANE ?= "insane" | 14 | INHERIT_INSANE ?= "insane" |
15 | INHERIT += "${PACKAGE_CLASSES} ${USER_CLASSES} debian poky devshell ${INHERIT_INSANE} sstate" | 15 | INHERIT += "${PACKAGE_CLASSES} ${USER_CLASSES} debian devshell ${INHERIT_INSANE} sstate" |
16 | # For some reason, this doesn't work | 16 | # For some reason, this doesn't work |
17 | # TARGET_OS ?= "linux" | 17 | # TARGET_OS ?= "linux" |
18 | # TARGET_VENDOR ?= "-poky" | 18 | # TARGET_VENDOR ?= "-poky" |
@@ -141,6 +141,32 @@ COMMERCIAL_QT ?= "" | |||
141 | 141 | ||
142 | require conf/distro/include/world-broken.inc | 142 | require conf/distro/include/world-broken.inc |
143 | 143 | ||
144 | PREMIRRORS_append = "\ | ||
145 | bzr://.*/.* http://pokylinux.org/sources/ \n \ | ||
146 | cvs://.*/.* http://pokylinux.org/sources/ \n \ | ||
147 | git://.*/.* http://pokylinux.org/sources/ \n \ | ||
148 | hg://.*/.* http://pokylinux.org/sources/ \n \ | ||
149 | osc://.*/.* http://pokylinux.org/sources/ \n \ | ||
150 | p4://.*/.* http://pokylinux.org/sources/ \n \ | ||
151 | svk://.*/.* http://pokylinux.org/sources/ \n \ | ||
152 | svn://.*/.* http://pokylinux.org/sources/ \n \ | ||
153 | bzr://.*/.* http://autobuilder.pokylinux.org/sources/ \n \ | ||
154 | cvs://.*/.* http://autobuilder.pokylinux.org/sources/ \n \ | ||
155 | git://.*/.* http://autobuilder.pokylinux.org/sources/ \n \ | ||
156 | hg://.*/.* http://autobuilder.pokylinux.org/sources/ \n \ | ||
157 | osc://.*/.* http://autobuilder.pokylinux.org/sources/ \n \ | ||
158 | p4://.*/.* http://autobuilder.pokylinux.org/sources/ \n \ | ||
159 | svk://.*/.* http://autobuilder.pokylinux.org/sources/ \n \ | ||
160 | svn://.*/.* http://autobuilder.pokylinux.org/sources/ \n" | ||
161 | |||
162 | MIRRORS_append = "\ | ||
163 | ftp://.*/.* http://pokylinux.org/sources/ \n \ | ||
164 | http://.*/.* http://pokylinux.org/sources/ \n \ | ||
165 | https://.*/.* http://pokylinux.org/sources/ \n \ | ||
166 | ftp://.*/.* http://autobuilder.pokylinux.org/sources/ \n \ | ||
167 | http://.*/.* http://autobuilder.pokylinux.org/sources/ \n \ | ||
168 | https://.*/.* http://autobuilder.pokylinux.org/sources/ \n" | ||
169 | |||
144 | # Setup our hash policy | 170 | # Setup our hash policy |
145 | BB_SIGNATURE_HANDLER = "basic" | 171 | BB_SIGNATURE_HANDLER = "basic" |
146 | BB_HASHTASK_WHITELIST = "(.*-cross$|.*-native$|.*-cross-initial$|.*-cross-intermediate$|^virtual:native:.*|^virtual:nativesdk:.*)" | 172 | BB_HASHTASK_WHITELIST = "(.*-cross$|.*-native$|.*-cross-initial$|.*-cross-intermediate$|^virtual:native:.*|^virtual:nativesdk:.*)" |