diff --git a/mock-riscv64-configs.patch b/mock-riscv64-configs.patch index 6d3ee2b..40c582a 100644 --- a/mock-riscv64-configs.patch +++ b/mock-riscv64-configs.patch @@ -11,10 +11,10 @@ index 0000000..7374dec +include('templates/fedora-branched.tpl') diff --git a/etc/mock/fedora-38-riscv64.cfg b/etc/mock/fedora-38-riscv64.cfg new file mode 100644 -index 0000000..0d6a6d5 +index 0000000..791a968 --- /dev/null +++ b/etc/mock/fedora-38-riscv64.cfg -@@ -0,0 +1,66 @@ +@@ -0,0 +1,67 @@ +config_opts['releasever'] = '38' +config_opts['target_arch'] = 'riscv64' +config_opts['legal_host_arches'] = ('riscv64',) @@ -30,6 +30,7 @@ index 0000000..0d6a6d5 +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['bootstrap_image'] = 'fedora.riscv.rocks:3000/davidlt/fedora:{{ releasever }}' + +config_opts['dnf.conf'] = """ +[main] @@ -83,9 +84,20 @@ index 0000000..0d6a6d5 +""" diff --git a/etc/mock/fedora-39-riscv64.cfg b/etc/mock/fedora-39-riscv64.cfg new file mode 100644 -index 0000000..65beeab +index 0000000..b996fbe --- /dev/null +++ b/etc/mock/fedora-39-riscv64.cfg +@@ -0,0 +1,5 @@ ++config_opts['releasever'] = '39' ++config_opts['target_arch'] = 'riscv64' ++config_opts['legal_host_arches'] = ('riscv64',) ++ ++include('templates/fedora-branched.tpl') +diff --git a/etc/mock/fedora-40-riscv64.cfg b/etc/mock/fedora-40-riscv64.cfg +new file mode 100644 +index 0000000..65beeab +--- /dev/null ++++ b/etc/mock/fedora-40-riscv64.cfg @@ -0,0 +1,4 @@ +config_opts['target_arch'] = 'riscv64' +config_opts['legal_host_arches'] = ('riscv64',)