Skip to content

Commit 5237f12

Browse files
nikromenxsuchy
authored andcommitted
Add risc-v fedora chroots
1 parent 6f445a7 commit 5237f12

File tree

4 files changed

+59
-0
lines changed

4 files changed

+59
-0
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
config_opts['releasever'] = '42'
2+
config_opts['target_arch'] = 'riscv64'
3+
config_opts['legal_host_arches'] = ('riscv64',)
4+
5+
include('templates/fedora-riscv64.tpl')
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
config_opts['releasever'] = '43'
2+
config_opts['target_arch'] = 'riscv64'
3+
config_opts['legal_host_arches'] = ('riscv64',)
4+
5+
include('templates/fedora-riscv64.tpl')
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
config_opts['root'] = 'fedora-{{ releasever }}-{{ target_arch }}'
2+
3+
config_opts['description'] = 'Fedora {{ releasever }} RISC-V'
4+
config_opts['chroot_setup_cmd'] = 'install @build'
5+
6+
config_opts['dist'] = 'fc{{ releasever }}'
7+
config_opts['extra_chroot_dirs'] = [ '/run/lock', ]
8+
9+
config_opts['package_manager'] = 'dnf5'
10+
11+
config_opts['use_bootstrap_image'] = False
12+
13+
config_opts['dnf.conf'] = """
14+
[main]
15+
keepcache=1
16+
debuglevel=2
17+
reposdir=/dev/null
18+
logfile=/var/log/yum.log
19+
retries=20
20+
obsoletes=1
21+
gpgcheck=0
22+
assumeyes=1
23+
syslog_ident=mock
24+
syslog_device=
25+
install_weak_deps=0
26+
metadata_expire=0
27+
best=1
28+
protected_packages=
29+
user_agent={{ user_agent }}
30+
31+
# repos
32+
33+
[local]
34+
name=local
35+
baseurl=https://riscv-koji.fedoraproject.org/repos/f{{ releasever }}-build/latest/riscv64/
36+
gpgcheck=0
37+
enabled=1
38+
skip_if_unavailable=False
39+
40+
[fedora]
41+
name=fedora
42+
baseurl=https://riscv-koji.fedoraproject.org/repos-dist/f{{ releasever }}/latest/riscv64/
43+
gpgcheck=0
44+
enabled=1
45+
skip_if_unavailable=False
46+
"""
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
Added RISC-V 64-bit architecture support with new configuration files for
2+
Fedora 42 and 43. The configs use the RISC-V Koji infrastructure at
3+
`riscv-koji.fedoraproject.org`.

0 commit comments

Comments
 (0)