[neon/backports-focal/fwupd-signed/Neon/unstable] /: override uri to use hirsuite efi

Jonathan Riddell null at kde.org
Tue May 25 14:01:45 BST 2021


Git commit d2174e298b015c2834436443ab4c60fce0f84341 by Jonathan Riddell.
Committed on 25/05/2021 at 13:01.
Pushed by jriddell into branch 'Neon/unstable'.

override uri to use hirsuite efi

M  +3    -1    download-fwupd

https://invent.kde.org/neon/backports-focal/fwupd-signed/commit/d2174e298b015c2834436443ab4c60fce0f84341

diff --git a/download-fwupd b/download-fwupd
index 2d21f4c..f4bf29d 100755
--- a/download-fwupd
+++ b/download-fwupd
@@ -8,6 +8,8 @@ from urllib.request import urlopen
 import apt
 import apt_pkg
 
+uri = 'http://archive.ubuntu.com/ubuntu/pool/main/f/fwupd/fwupd_1.5.8-0ubuntu1_amd64.deb'
+
 ARCH_TO_EFI_NAME = {
     'amd64': 'x64',
     'i386': 'ia32',
@@ -18,7 +20,7 @@ arch = apt_pkg.config['Apt::Architecture']
 efi_name = ARCH_TO_EFI_NAME[arch]
 cache = apt.Cache()
 fwupd_efi = cache["fwupd"].candidate
-pool_parsed = urlparse(fwupd_efi.uri)
+pool_parsed = urlparse(uri)
 dists_dir = "/dists/%s/main/uefi/fwupd-%s/current/" % (
     fwupd_efi.origins[0].archive, fwupd_efi.architecture)
 


More information about the Neon-commits mailing list