-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathfedora-38-riscv64.cfg
134 lines (115 loc) · 3.8 KB
/
fedora-38-riscv64.cfg
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
config_opts['target_arch'] = 'riscv64'
config_opts['legal_host_arches'] = ('riscv64',)
config_opts['qemu_user_static_mapping'] = {
'riscv64': 'riscv64',
}
config_opts['use_bootstrap'] = True
config_opts['dnf_install_command'] = 'makecache'
config_opts['system_dnf_command'] = '/usr/bin/dnf'
config_opts['cleanup_on_success'] = True
config_opts['cleanup_on_failure'] = True
config_opts['package_manager_max_attempts'] = 2
config_opts['package_manager_attempt_delay'] = 10
config_opts['docker_unshare_warning'] = False
config_opts['http_proxy'] = os.getenv("http_proxy")
config_opts['https_proxy'] = os.getenv("https_proxy")
config_opts['docker_host'] = os.getenv("DOCKER_HOST")
config_opts['releasever'] = '38'
config_opts['root'] = 'rivai-fedora-{{ releasever }}-{{ target_arch }}'
config_opts['mirrored'] = config_opts['target_arch'] != 'i686'
config_opts['chroot_setup_cmd'] = 'install @{% if mirrored %}buildsys-{% endif %}build'
config_opts['dist'] = 'fc{{ releasever }}' # only useful for --resultdir variable subst
config_opts['extra_chroot_dirs'] = [ '/run/lock', ]
config_opts['package_manager'] = 'dnf'
config_opts['dnf.conf'] = """
[main]
keepcache=1
debuglevel=2
reposdir=/dev/null
logfile=/var/log/yum.log
retries=20
obsoletes=1
gpgcheck=0
assumeyes=1
syslog_ident=mock
syslog_device=
install_weak_deps=0
metadata_expire=0
best=1
module_platform_id=platform:f38
protected_packages=
user_agent=
{%- macro rawhide_gpg_keys() -%}
file:///usr/share/distribution-gpg-keys/fedora/RPM-GPG-KEY-fedora-$releasever-primary
{%- for version in [releasever|int, releasever|int - 1]
%} file:///usr/share/distribution-gpg-keys/fedora/RPM-GPG-KEY-fedora-{{ version }}-primary
{%- endfor %}
{%- endmacro %}
# repos
[Openkoji_Kojifiles_Repos_F38-build]
name=Openkoji_Kojifiles_Repos_F38-build
baseurl=http://openkoji.iscas.ac.cn/kojifiles/repos/f38-build/latest/riscv64/
cost=2000
enabled=1
skip_if_unavailable=True
[Openkoji_Kojifiles_Repos_F38-build-side-42-init-devel]
name=Openkoji_Kojifiles_Repos_F38-build-side-42-init-devel
baseurl=http://openkoji.iscas.ac.cn/kojifiles/repos/f38-build-side-42-init-devel/latest/riscv64/
cost=2000
enabled=1
skip_if_unavailable=True
[Openkoji_Repos_F38dist]
name=Openkoji_Repos_F38dist
baseurl=http://openkoji.iscas.ac.cn/repos/fc38dist/riscv64/
cost=2000
enabled=1
skip_if_unavailable=True
[Openkoji_Repos_Fc38-noarches-repo]
name=Openkoji_Repos_Fc38-noarches-repo
baseurl=http://openkoji.iscas.ac.cn/repos/fc38-noarches-repo/riscv64/
cost=2000
enabled=1
skip_if_unavailable=True
[Openkoji_Pub_temp-f38-repo]
name=Openkoji_Pub_temp-f38-repo
baseurl=https://openkoji.iscas.ac.cn/pub/temp-f38-repo/riscv64/
cost=2000
enabled=1
skip_if_unavailable=True
[Openkoji_Pub_temp-python311-repo]
name=Openkoji_Pub_temp-python311-repo
baseurl=http://openkoji.iscas.ac.cn/pub/temp-python311-repo/riscv64/
cost=2000
enabled=1
skip_if_unavailable=True
[fedora_riscv_rocks-repos_f38-build]
name=fedora_riscv_rocks-repos_f38-build
baseurl=http://fedora.riscv.rocks/repos/f38-build/latest/riscv64/
cost=2000
enabled=0
skip_if_unavailable=True
[fedora_riscv_rocks-repos_f38-build]
name=fedora_riscv_rocks-repos_f38-build
baseurl=http://fedora.riscv.rocks/repos/f38-build/latest/riscv64/
cost=2000
enabled=0
skip_if_unavailable=True
[fedora_riscv_rocks-repos-dist_f38]
name=fedora_riscv_rocks-repos-dist_f38
baseurl=http://fedora.riscv.rocks/repos-dist/f38/latest/riscv64/
cost=2000
enabled=0
skip_if_unavailable=True
[fedora_riscv_rocks-kojifiles_repos-dist_f38]
name=fedora_riscv_rocks-kojifiles_repos-dist_f38
baseurl=http://fedora.riscv.rocks/kojifiles/repos-dist/f38/latest/riscv64/
cost=2000
enabled=0
skip_if_unavailable=True
[fedora_riscv_rocks-kojifiles_repos_f38-build]
name=fedora_riscv_rocks-kojifiles_repos_f38-build
baseurl=http://fedora.riscv.rocks/kojifiles/repos/f38-build/latest/riscv64/
cost=2000
enabled=0
skip_if_unavailable=True
"""