]> git.ipfire.org Git - thirdparty/mkosi.git/commitdiff
openSUSE: don't use https to access mirrors for the time being 173/head
authorFranck Bui <fbui@suse.com>
Thu, 12 Oct 2017 15:08:11 +0000 (17:08 +0200)
committerFranck Bui <fbui@suse.com>
Thu, 12 Oct 2017 15:10:22 +0000 (17:10 +0200)
Some openSUSE mirrors redirect https to http and this seems to make
curl(1) unhappy now.

There's a request to fix that on mirror side:
https://github.com/openSUSE/mirrorbrain/issues/3 but for the time
being switch to http to access all mirrors.

There seems to be no additional values in https:// as the rpms are
signed by gpg keys already, so is the repodata anyways.

Fixes: #137
Fixes: #159
mkosi

diff --git a/mkosi b/mkosi
index c51a2394f412d27bcd87ebc4e0845564a35cc17a..dff1e4cc6a2df8de1bed9010bfc40bc554b7a591 100755 (executable)
--- a/mkosi
+++ b/mkosi
@@ -2574,7 +2574,7 @@ def load_args():
             if platform.machine() == "aarch64":
                 args.mirror = "http://mirror.archlinuxarm.org"
         elif args.distribution == Distribution.opensuse:
-            args.mirror = "https://download.opensuse.org"
+            args.mirror = "http://download.opensuse.org"
 
     if args.bootable:
         if args.distribution == Distribution.ubuntu: