summaryrefslogtreecommitdiff
path: root/src/backend/filesystem.py
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-07-10 13:53:33 +0100
committerV3n3RiX <venerix@redcorelinux.org>2021-07-10 13:53:33 +0100
commit687968f9375def610d8730610dc48291346061a6 (patch)
tree928be78e8b331b8d8c6b91049147c29887a2a579 /src/backend/filesystem.py
parent5ef298d50edc3c2d7f90150afd3a711a8c3cae68 (diff)
sisyphus backend : arm64 specific bitsv4.2107.0
Diffstat (limited to 'src/backend/filesystem.py')
-rw-r--r--src/backend/filesystem.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/backend/filesystem.py b/src/backend/filesystem.py
index cfbfa86..4934108 100644
--- a/src/backend/filesystem.py
+++ b/src/backend/filesystem.py
@@ -1,5 +1,7 @@
#!/usr/bin/python3
+import platform
+
remoteGitlab = 'https://gitlab.com/redcore'
remotePagure = 'https://pagure.io/redcore'
@@ -19,4 +21,8 @@ localPackagesCsv = '/var/lib/sisyphus/csv/localPackagesPre.csv'
localDatabase = '/var/lib/sisyphus/db/sisyphus.db'
-mirrorCfg = '/etc/sisyphus/mirrors.conf'
+if platform.uname()[4] == 'x86_64':
+ mirrorCfg = '/etc/sisyphus/sisyphus-mirrors-amd64.conf'
+
+if platform.uname()[4] == 'aarch64':
+ mirrorCfg = '/etc/sisyphus/sisyphus-mirrors-arm64.conf'