Use the new CDN for firmware metadata
This commit is contained in:
parent
9565ae53d9
commit
740cf41930
29
0001-Switch-to-the-Amazon-S3-CDN-for-firmware-metadata.patch
Normal file
29
0001-Switch-to-the-Amazon-S3-CDN-for-firmware-metadata.patch
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
From 96e1ea6b265728aad5bf43f18009abb3befc34a0 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Richard Hughes <richard@hughsie.com>
|
||||||
|
Date: Thu, 11 Aug 2016 18:24:14 +0100
|
||||||
|
Subject: [PATCH] Switch to the Amazon S3 CDN for firmware metadata
|
||||||
|
|
||||||
|
This is much more scalable than millions of clients hitting a single
|
||||||
|
OpenShift instance.
|
||||||
|
---
|
||||||
|
data/fwupd.conf | 4 ++--
|
||||||
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/data/fwupd.conf b/data/fwupd.conf
|
||||||
|
index 5aacd5c..3ec448b 100644
|
||||||
|
--- a/data/fwupd.conf
|
||||||
|
+++ b/data/fwupd.conf
|
||||||
|
@@ -3,8 +3,8 @@
|
||||||
|
# The download URI to use for LVFS metadata
|
||||||
|
#
|
||||||
|
# If you want to use testing firmware then change this value to:
|
||||||
|
-# https://secure-lvfs.rhcloud.com/downloads/firmware-testing.xml.gz
|
||||||
|
-DownloadURI=https://secure-lvfs.rhcloud.com/downloads/firmware.xml.gz
|
||||||
|
+# https://s3.amazonaws.com/lvfsbucket/downloads/firmware-testing.xml.gz
|
||||||
|
+DownloadURI=https://s3.amazonaws.com/lvfsbucket/downloads/firmware.xml.gz
|
||||||
|
|
||||||
|
# If we should verify option ROM images
|
||||||
|
EnableOptionROM=true
|
||||||
|
--
|
||||||
|
2.7.4
|
||||||
|
|
@ -6,11 +6,14 @@
|
|||||||
Summary: Firmware update daemon
|
Summary: Firmware update daemon
|
||||||
Name: fwupd
|
Name: fwupd
|
||||||
Version: 0.7.2
|
Version: 0.7.2
|
||||||
Release: 2%{?dist}
|
Release: 3%{?dist}
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
URL: https://github.com/hughsie/fwupd
|
URL: https://github.com/hughsie/fwupd
|
||||||
Source0: http://people.freedesktop.org/~hughsient/releases/%{name}-%{version}.tar.xz
|
Source0: http://people.freedesktop.org/~hughsient/releases/%{name}-%{version}.tar.xz
|
||||||
|
|
||||||
|
# backported from master, use a more scalable CDN.
|
||||||
|
Patch0: 0001-Switch-to-the-Amazon-S3-CDN-for-firmware-metadata.patch
|
||||||
|
|
||||||
BuildRequires: docbook-utils
|
BuildRequires: docbook-utils
|
||||||
BuildRequires: gettext
|
BuildRequires: gettext
|
||||||
BuildRequires: glib2-devel >= %{glib2_version}
|
BuildRequires: glib2-devel >= %{glib2_version}
|
||||||
@ -71,6 +74,7 @@ Files for development with libdfu.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
%patch0 -p1 -b .new-cdn
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure \
|
%configure \
|
||||||
@ -156,6 +160,9 @@ make check VERBOSE=1
|
|||||||
%{_libdir}/pkgconfig/dfu.pc
|
%{_libdir}/pkgconfig/dfu.pc
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Aug 11 2016 Richard Hughes <richard@hughsie.com> 0.7.2-3
|
||||||
|
- Use the new CDN for firmware metadata
|
||||||
|
|
||||||
* Thu Jul 14 2016 Kalev Lember <klember@redhat.com> - 0.7.2-2
|
* Thu Jul 14 2016 Kalev Lember <klember@redhat.com> - 0.7.2-2
|
||||||
- Tighten subpackage dependencies
|
- Tighten subpackage dependencies
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user