summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSaul Wold <sgw@linux.intel.com>2012-02-24 15:03:22 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-02-24 23:23:29 +0000
commiteb2d70e02d299ab651aebda49d2006aef16b4ae0 (patch)
treed47200f0233717ae3c01012c968b0d9918b3d83a
parent22194a04f224864dd687660e351a3a10da1f06fa (diff)
downloadopenembedded-core-eb2d70e02d299ab651aebda49d2006aef16b4ae0.tar.gz
openembedded-core-eb2d70e02d299ab651aebda49d2006aef16b4ae0.tar.bz2
openembedded-core-eb2d70e02d299ab651aebda49d2006aef16b4ae0.zip
distro_check: fix the fedora URL for rleases as they seem to have moved
Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/lib/oe/distro_check.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/lib/oe/distro_check.py b/meta/lib/oe/distro_check.py
index 630e88d2f2..cc836de38d 100644
--- a/meta/lib/oe/distro_check.py
+++ b/meta/lib/oe/distro_check.py
@@ -99,12 +99,12 @@ def get_source_package_list_from_url(url, section):
def get_latest_released_fedora_source_package_list():
"Returns list of all the name os packages in the latest fedora distro"
- latest = find_latest_numeric_release("http://download.fedora.redhat.com/pub/fedora/linux/releases/")
+ latest = find_latest_numeric_release("http://archive.fedoraproject.org/pub/fedora/linux/releases/")
- package_names = get_source_package_list_from_url("http://download.fedora.redhat.com/pub/fedora/linux/releases/%s/Fedora/source/SRPMS/" % latest, "main")
+ package_names = get_source_package_list_from_url("http://archive.fedoraproject.org/pub/fedora/linux/releases/%s/Fedora/source/SRPMS/" % latest, "main")
# package_names += get_source_package_list_from_url("http://download.fedora.redhat.com/pub/fedora/linux/releases/%s/Everything/source/SPRMS/" % latest, "everything")
- package_names += get_source_package_list_from_url("http://download.fedora.redhat.com/pub/fedora/linux/updates/%s/SRPMS/" % latest, "updates")
+ package_names += get_source_package_list_from_url("http://archive.fedoraproject.org/pub/fedora/linux/updates/%s/SRPMS/" % latest, "updates")
package_list=clean_package_list(package_names)