summaryrefslogtreecommitdiff
path: root/src/backend/getfs.py
blob: 77e0b2de352c51198c21999462685ebbaaab06ab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#!/usr/bin/python3

import platform

rmt_gh_addr = 'https://github.com/redcorelinux'
rmt_gl_addr = 'https://gitlab.com/redcore'
rmt_pg_addr = 'https://pagure.io/redcore'

g_repo = 'portage.git'
r_repo = 'redcore-desktop.git'
p_cfg_repo = 'redcore-build.git'

g_src_dir = '/usr/ports/gentoo'
r_src_dir = '/usr/ports/redcore'
p_cfg_dir = '/opt/redcore-build'
p_cch_dir = '/var/cache/packages'
p_dst_dir = '/var/cache/distfiles'
p_mtd_dir = '/var/cache/edb'

rmt_pcsv = '/var/lib/sisyphus/csv/remotePackagesPre.csv'
rmt_dcsv = '/var/lib/sisyphus/csv/remoteDescriptionsPre.csv'
lcl_pcsv = '/var/lib/sisyphus/csv/localPackagesPre.csv'

lcl_db = '/var/lib/sisyphus/db/sisyphus.db'

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'