Compare commits

...

3 Commits

Author SHA1 Message Date
David Abdurachmanov 51d219f9f5
Update riscv64 configs
Signed-off-by: David Abdurachmanov <david.abdurachmanov@sifive.com>
2020-07-24 07:50:54 +03:00
David Abdurachmanov baab14ab3f
Merge remote-tracking branch 'up/master' into master-riscv64
Signed-off-by: David Abdurachmanov <david.abdurachmanov@sifive.com>
2020-07-24 07:49:47 +03:00
David Abdurachmanov d58df9e7c9
Add a fake fedora-rawhide-riscv64.cfg
Solves the following during disk image build:

Warning: file /etc/mock/fedora-rawhide-riscv64.cfg does not exist.
         unable to update /etc/mock/default.cfg

Signed-off-by: David Abdurachmanov <david.abdurachmanov@gmail.com>
2019-04-02 08:26:42 +02:00
2 changed files with 27 additions and 2 deletions

View File

@ -3,7 +3,7 @@
Name: mock-core-configs
Version: 32.6
Release: 1%{?dist}
Release: 1.0.riscv64%{?dist}
Summary: Mock core config files basic chroots
License: GPLv2+
@ -20,6 +20,8 @@ BuildArch: noarch
# replace the mock-core-configs.rpm functionality.
Provides: mock-configs
Patch0: mock-riscv64-rawhide.patch
# distribution-gpg-keys contains GPG keys used by mock configs
Requires: distribution-gpg-keys >= 1.36
# specify minimal compatible version of mock
@ -52,7 +54,7 @@ Config files which allow you to create chroots for:
%prep
%setup -q
%patch0 -p1 -b .riscv64
%build
cd etc/host-overrides
@ -153,6 +155,9 @@ fi
%ghost %config(noreplace,missingok) %{_sysconfdir}/mock/default.cfg
%changelog
* Fri Jul 24 2020 David Abdurachmanov <david.abdurachmanov@sifive.com> 32.6-1.0.riscv64
- Add fake fedora-rawhide-riscv64.cfg
* Wed Apr 01 2020 Pavel Raiskup <praiskup@redhat.com> 32.6-1
- the site-defaults.cfg file moved from mock to mock-core-configs
- new option config_opts['isolation'], obsoletes 'use_nspawn'

View File

@ -0,0 +1,20 @@
diff --git a/etc/mock/fedora-33-riscv64.cfg b/etc/mock/fedora-33-riscv64.cfg
new file mode 100644
index 0000000..65beeab
--- /dev/null
+++ b/etc/mock/fedora-33-riscv64.cfg
@@ -0,0 +1,4 @@
+config_opts['target_arch'] = 'riscv64'
+config_opts['legal_host_arches'] = ('riscv64',)
+
+include('templates/fedora-rawhide.tpl')
diff --git a/etc/mock/fedora-rawhide-riscv64.cfg b/etc/mock/fedora-rawhide-riscv64.cfg
new file mode 100644
index 0000000..65beeab
--- /dev/null
+++ b/etc/mock/fedora-rawhide-riscv64.cfg
@@ -0,0 +1,4 @@
+config_opts['target_arch'] = 'riscv64'
+config_opts['legal_host_arches'] = ('riscv64',)
+
+include('templates/fedora-rawhide.tpl')