Compare commits
60 Commits
master
...
main-riscv
Author | SHA1 | Date | |
---|---|---|---|
cab477e608 | |||
294de3233d | |||
97363b6af9 | |||
eda41512c0 | |||
|
da1067f025 | ||
|
9981f0476d | ||
|
de4750162c | ||
|
592c4b8ae3 | ||
|
d48d7b1cf1 | ||
|
71a3edc8e4 | ||
|
d8917ddcc8 | ||
|
9e5a9702c9 | ||
|
3e82a51478 | ||
|
492c3c61af | ||
|
b3279f0f05 | ||
|
88ac68a63c | ||
|
d6b9324e12 | ||
|
8ce0af85e0 | ||
|
3880cf15a7 | ||
|
2fd4eee944 | ||
|
7ab9276dc0 | ||
|
c3dd5807c7 | ||
|
168d5cc40d | ||
|
f251be5bc5 | ||
|
019adee371 | ||
|
46e65150be | ||
|
12f00bafef | ||
|
d2557e68ca | ||
|
5ba7051b67 | ||
|
b2588abaea | ||
|
ec5783fdec | ||
|
4426cc94a6 | ||
|
7daac7e669 | ||
|
28ab99a2d4 | ||
|
e6342e0f93 | ||
|
d2e22c30ea | ||
|
27f42320c2 | ||
|
bead080bbc | ||
|
96cda325a9 | ||
|
d159e44c92 | ||
|
66a95cbcbb | ||
|
b27a0dd39c | ||
|
4378e227cc | ||
|
66e6ad56fc | ||
|
2535fd58df | ||
|
fb0631f512 | ||
|
b3fc5e6f7e | ||
|
496e4ee6d7 | ||
|
f01b41e623 | ||
|
22b17533ac | ||
|
25741bc4a4 | ||
|
a0dee0997c | ||
|
00f4dcfb56 | ||
|
8524d3e368 | ||
|
8ffb5e8b96 | ||
|
364c0ec843 | ||
|
98585c10dd | ||
|
83e89612ef | ||
|
bc63f1c491 | ||
|
a3fba8ae45 |
@ -1,9 +1,13 @@
|
||||
%if 0%{?el8}
|
||||
%global python3 /usr/libexec/platform-python
|
||||
%endif
|
||||
|
||||
Name: mock-core-configs
|
||||
Version: 33.3
|
||||
Release: 1%{?dist}
|
||||
Version: 41.4
|
||||
Release: 1.1.riscv64%{?dist}
|
||||
Summary: Mock core config files basic chroots
|
||||
|
||||
License: GPLv2+
|
||||
License: GPL-2.0-or-later
|
||||
URL: https://github.com/rpm-software-management/mock/
|
||||
# Source is created by
|
||||
# git clone https://github.com/rpm-software-management/mock.git
|
||||
@ -13,67 +17,42 @@ URL: https://github.com/rpm-software-management/mock/
|
||||
Source: https://github.com/rpm-software-management/mock/releases/download/%{name}-%{version}-1/%{name}-%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
|
||||
Patch10: mock-riscv64-configs.patch
|
||||
|
||||
# The mock.rpm requires this. Other packages may provide this if they tend to
|
||||
# replace the mock-core-configs.rpm functionality.
|
||||
Provides: mock-configs
|
||||
|
||||
# distribution-gpg-keys contains GPG keys used by mock configs
|
||||
Requires: distribution-gpg-keys >= 1.41
|
||||
Requires: distribution-gpg-keys >= 1.105
|
||||
# specify minimal compatible version of mock
|
||||
Requires: mock >= 2.5
|
||||
Requires: mock >= 5.4.post1
|
||||
Requires: mock-filesystem
|
||||
|
||||
Requires(post): coreutils
|
||||
%if 0%{?fedora} || 0%{?mageia} || 0%{?rhel} > 7
|
||||
# to detect correct default.cfg
|
||||
Requires(post): python3-dnf
|
||||
Requires(post): python3-hawkey
|
||||
Requires(post): system-release
|
||||
Requires(post): python3
|
||||
Requires(post): sed
|
||||
%endif
|
||||
Requires(pre): shadow-utils
|
||||
%if 0%{?rhel} && 0%{?rhel} <= 7
|
||||
# to detect correct default.cfg
|
||||
Requires(post): python
|
||||
Requires(post): yum
|
||||
Requires(post): /etc/os-release
|
||||
%endif
|
||||
|
||||
%description
|
||||
Config files which allow you to create chroots for:
|
||||
* Fedora
|
||||
* Epel
|
||||
* Mageia
|
||||
* Custom chroot
|
||||
* OpenSuse Tumbleweed and Leap
|
||||
Mock configuration files which allow you to create chroots for Alma Linux,
|
||||
Amazon Linux, CentOS, CentOS Stream, Circle Linux, EuroLinux, Fedora, Fedora EPEL, Mageia,
|
||||
Navy Linux, OpenMandriva Lx, openSUSE, Oracle Linux, Red Hat Enterprise Linux,
|
||||
Rocky Linux and various other specific or combined chroots.
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
%patch -P 10 -p1 -b .riscv64
|
||||
|
||||
%build
|
||||
cd etc/host-overrides
|
||||
HOST=none
|
||||
%if 0%{?fedora}
|
||||
HOST="fedora-%{fedora}"
|
||||
%endif
|
||||
%if 0%{?rhel}
|
||||
HOST="rhel-%{rhel}"
|
||||
%endif
|
||||
|
||||
if [ -d "$HOST" ]; then
|
||||
pushd "$HOST"
|
||||
for i in *.cfg; do
|
||||
cat "$i" >> "../../mock/$i"
|
||||
done
|
||||
popd
|
||||
fi
|
||||
|
||||
|
||||
%install
|
||||
mkdir -p %{buildroot}%{_sysusersdir}
|
||||
|
||||
mkdir -p %{buildroot}%{_sysconfdir}/mock/eol/templates
|
||||
mkdir -p %{buildroot}%{_sysconfdir}/mock/templates
|
||||
cp -a etc/mock/*.cfg %{buildroot}%{_sysconfdir}/mock
|
||||
@ -84,7 +63,10 @@ cp -a etc/mock/eol/templates/*.tpl %{buildroot}%{_sysconfdir}/mock/eol/templates
|
||||
# generate files section with config - there is many of them
|
||||
echo "%defattr(0644, root, mock)" > %{name}.cfgs
|
||||
find %{buildroot}%{_sysconfdir}/mock -name "*.cfg" -o -name '*.tpl' \
|
||||
| grep -v chroot-aliases \
|
||||
| sed -e "s|^%{buildroot}|%%config(noreplace) |" >> %{name}.cfgs
|
||||
echo "%%config %{_sysconfdir}/mock/chroot-aliases.cfg" >> %{name}.cfgs
|
||||
|
||||
# just for %%ghosting purposes
|
||||
ln -s fedora-rawhide-x86_64.cfg %{buildroot}%{_sysconfdir}/mock/default.cfg
|
||||
# bash-completion
|
||||
@ -118,16 +100,41 @@ else
|
||||
# something obsure, use buildtime version
|
||||
ver=%{?rhel}%{?fedora}%{?mageia}
|
||||
fi
|
||||
%if 0%{?fedora} || 0%{?mageia} || 0%{?rhel} > 7
|
||||
if [ -s /etc/mageia-release ]; then
|
||||
mock_arch=$(sed -n '/^$/!{$ s/.* \(\w*\)$/\1/p}' /etc/mageia-release)
|
||||
else
|
||||
mock_arch=$(python3 -c "import dnf.rpm; import hawkey; print(dnf.rpm.basearch(hawkey.detect_arch()))")
|
||||
mock_arch=$(%{python3} -c "import dnf.rpm; import hawkey; print(dnf.rpm.basearch(hawkey.detect_arch()))")
|
||||
fi
|
||||
%else
|
||||
mock_arch=$(python -c "import rpmUtils.arch; baseArch = rpmUtils.arch.getBaseArch(); print baseArch")
|
||||
|
||||
cfg=unknown-distro
|
||||
%if 0%{?fedora}
|
||||
cfg=fedora-$ver-$mock_arch.cfg
|
||||
%endif
|
||||
cfg=%{?fedora:fedora}%{?rhel:epel}%{?mageia:mageia}-$ver-${mock_arch}.cfg
|
||||
%if 0%{?rhel}
|
||||
# Being installed on RHEL, or a RHEL fork. Detect it.
|
||||
distro_id=$(. /etc/os-release; echo $ID)
|
||||
case $distro_id in
|
||||
centos)
|
||||
# This package is EL8+, and there's only CentOS Stream now.
|
||||
distro_id=centos-stream
|
||||
;;
|
||||
almalinux)
|
||||
# AlmaLinux configs look like 'alma+epel'
|
||||
distro_id=alma
|
||||
;;
|
||||
esac
|
||||
cfg=$distro_id+epel-$ver-$mock_arch.cfg
|
||||
%endif
|
||||
|
||||
%if 0%{?eln}
|
||||
# overrides rhel value which resolves in fedora+epel-rawhide-$mock_arch.cfg
|
||||
cfg=fedora-eln-$mock_arch.cfg
|
||||
%endif
|
||||
|
||||
%if 0%{?mageia}
|
||||
cfg=mageia-$ver-$mock_arch.cfg
|
||||
%endif
|
||||
|
||||
if [ -e %{_sysconfdir}/mock/$cfg ]; then
|
||||
if [ "$(readlink %{_sysconfdir}/mock/default.cfg)" != "$cfg" ]; then
|
||||
ln -s $cfg %{_sysconfdir}/mock/default.cfg 2>/dev/null || ln -s -f $cfg %{_sysconfdir}/mock/default.cfg.rpmnew
|
||||
@ -141,9 +148,298 @@ fi
|
||||
|
||||
%files -f %{name}.cfgs
|
||||
%license COPYING
|
||||
%doc README
|
||||
%ghost %config(noreplace,missingok) %{_sysconfdir}/mock/default.cfg
|
||||
|
||||
%changelog
|
||||
* Tue Dec 17 2024 David Abdurachmanov <davidlt@rivosinc.com> 41.4-1.1.riscv64
|
||||
- F40/41 default to disto repos, not Koji repos.
|
||||
|
||||
* Tue Dec 17 2024 David Abdurachmanov <davidlt@rivosinc.com> 41.4-1.0.riscv64
|
||||
- Update Fedora/RISCV configs for 40/41/42/Rawhide
|
||||
|
||||
* Mon Sep 30 2024 Pavel Raiskup <praiskup@redhat.com> 41.4-1
|
||||
- update ELN repos (yselkowi@redhat.com)
|
||||
|
||||
* Thu Sep 26 2024 Pavel Raiskup <praiskup@redhat.com> 41.3-1
|
||||
- move anolis-7 to eol directory (msuchy@redhat.com)
|
||||
- move opensuse-leap-15.4 to eol directory (msuchy@redhat.com)
|
||||
- configs: the stream9 image is "ready" for Mock bootstrap
|
||||
- enable bootstrap container for CentOS Stream 10 (carlwgeorge@gmail.com)
|
||||
- configs: replace `powerpc64le` with `ppc64le` in the `%%_host_cpu` macro
|
||||
- fix EOL template locations for CentOS7/EPEL7 (thomas.mendorf@ebf.com)
|
||||
|
||||
* Thu Aug 15 2024 Pavel Raiskup <praiskup@redhat.com> 41.2-1
|
||||
- fix centos-stream+epel-10-s390x /bin/sed typo
|
||||
|
||||
* Wed Aug 14 2024 Pavel Raiskup <praiskup@redhat.com> 41.1-1
|
||||
- branch F41 from Rawhide (frostyx@email.cz)
|
||||
- added centos-stream+epel-10 configs
|
||||
- Enable RPM sysusers integration (j1.kyjovsky@gmail.com)
|
||||
- Rawhide to accept GPG key from future Fedora Rawhide+1
|
||||
- openEuler 24.03 LTS (nucleo@fedoraproject.org)
|
||||
- drop fedora-eln-i386 (yselkowi@redhat.com)
|
||||
- Switch CentOS 7 to vault.centos.org (robert@fedoraproject.org)
|
||||
- Fix GPG keys for CentOS Stream 10 repositories (daan.j.demeyer@gmail.com)
|
||||
- EOL epel-7 configuration
|
||||
- CentOS 7 is EOL
|
||||
- Fedora 41+ configuration images are "dnf5 ready"
|
||||
- Use metalinks for c10s {baseos,appstream,crb}-{source,debuginfo} (miro@hroncok.cz)
|
||||
|
||||
* Sat Jun 15 2024 Pavel Raiskup <praiskup@redhat.com> 40.6-1
|
||||
- c10s config use mirrored metalinks
|
||||
|
||||
* Wed Jun 05 2024 Miroslav Suchý <msuchy@redhat.com> 40.5-1
|
||||
- CentOS Stream 8 is EOL (andykimpe@gmail.com)
|
||||
- configs: Fedora 38 goes EOL (praiskup@redhat.com)
|
||||
|
||||
* Tue May 14 2024 Jakub Kadlcik <frostyx@email.cz> 40.4-1
|
||||
- configs: BuildWithDNF5 for ELN (praiskup@redhat.com)
|
||||
- Add Circle Linux 9 configs (bella@cclinux.org)
|
||||
- configs: Replace Mageia 10 and Cauldron i586 configs with i686
|
||||
(wally@mageia.org)
|
||||
- Post-release administrivia (frostyx@email.cz)
|
||||
|
||||
* Fri Apr 05 2024 Jakub Kadlcik <frostyx@email.cz> 40.3-1
|
||||
- Add initial c10s mock configs (Koji BUILDROOT only) (miro@hroncok.cz)
|
||||
- configs: use repo_arch, not target_arch with openSUSE (praiskup@redhat.com)
|
||||
- configs: Drop modular repositories from Fedora Branched
|
||||
(ngompa@fedoraproject.org)
|
||||
- configs: Drop modular repositories from Fedora Rawhide
|
||||
(ngompa@fedoraproject.org)
|
||||
- Configs 40.2 release notes && post-release administrivia
|
||||
(praiskup@redhat.com)
|
||||
|
||||
* Fri Feb 16 2024 Pavel Raiskup <praiskup@redhat.com> 40.2-1
|
||||
- Use dnf5 on Fedora 40+ (miro@hroncok.cz)
|
||||
|
||||
* Wed Feb 14 2024 Pavel Raiskup <praiskup@redhat.com> 40.1-1
|
||||
- new '{{ repo_arch }}' template variable used for Mageia
|
||||
- Mageia 7 is EOL (wally@mageia.org)
|
||||
- OpenMandriva i686 is EOL (frostyx@email.cz)
|
||||
- Fedora 40 branched
|
||||
|
||||
* Thu Jan 11 2024 Pavel Raiskup <praiskup@redhat.com> 39.4-1
|
||||
- configure system_cachedir for dnf5
|
||||
- configs: EOL Fedora 37
|
||||
- config: add README.md with maintainers and issue trackers (frostyx@email.cz)
|
||||
|
||||
* Fri Dec 01 2023 Pavel Raiskup <praiskup@redhat.com> 39.3-1
|
||||
- Fedora 40+ to use DNF5 for building
|
||||
- Mandriva provides python-* not python3-* packages, use them
|
||||
- mark ELN bootstrap image as "ready" to speedup bootstrap preparation
|
||||
|
||||
* Thu Oct 19 2023 Pavel Raiskup <praiskup@redhat.com> 39.2-1
|
||||
- Switch ELN to use a native bootstrap container image
|
||||
- Use the correct openSUSE Backports key for Leap 15.5 (neal@gompa.dev)
|
||||
- Properly handle /etc/mock/default.cfg on Fedora ELN (sbonazzo@redhat.com)
|
||||
|
||||
* Fri Sep 15 2023 Pavel Raiskup <praiskup@redhat.com> 39.1-1
|
||||
- Add openSUSE Leap 15.5 (neal@gompa.dev)
|
||||
- Move openSUSE Leap 15.3 to EOL (neal@gompa.dev)
|
||||
- Mageia 9 branched, Mageia Cauldron retargeted to Mageia 10 (neal@gompa.dev)
|
||||
|
||||
* Wed Aug 09 2023 Pavel Raiskup <praiskup@redhat.com> 39-1
|
||||
- new upstream release, per https://rpm-software-management.github.io/mock/Release-Notes-5.0
|
||||
|
||||
* Mon Jun 05 2023 Pavel Raiskup <praiskup@redhat.com> 38.6-1
|
||||
- use python3 macro for post scriptlet (mroche@omenos.dev)
|
||||
- openEuler: use metalinks instead of baseurls (chenzeng2@huawei.com)
|
||||
|
||||
* Mon May 22 2023 Pavel Raiskup <praiskup@redhat.com> 38.5-1
|
||||
- drop includepkgs=devtoolset* from centos-{6,7} (orion@nwra.com)
|
||||
- Fedora 35 and 36 is EOL
|
||||
- remove useradd specific changes in configs - it is not needed for Mock 4+
|
||||
- openSUSE i586 has been moved out of the main repo into a port (f_krull@gmx.de)
|
||||
|
||||
* Sat Apr 15 2023 Pavel Raiskup <praiskup@redhat.com> 38.4-1
|
||||
- Add Amazon Linux 2023 mock configs (trawets@amazon.com)
|
||||
|
||||
* Thu Mar 16 2023 Pavel Raiskup <praiskup@redhat.com> 38.3-1
|
||||
- new URL for CenOS Stream 8 koji (msuchy@redhat.com)
|
||||
- Make --enablerepo=local work with centos-stream chroots (miro@hroncok.cz)
|
||||
|
||||
* Fri Feb 17 2023 Pavel Raiskup <praiskup@redhat.com> 38.2-1
|
||||
- update gpg keys for Tumbleweed (msuchy@redhat.com)
|
||||
|
||||
* Tue Jan 31 2023 Pavel Raiskup <praiskup@redhat.com> 38.1-1
|
||||
- update openEuler gpg key (pkwarcraft@gmail.com)
|
||||
- Branch Fedora 38 (miro@hroncok.cz)
|
||||
- disable fastestmirror on almalinux (jonathan@almalinux.org)
|
||||
- openEuler 22.03-SP1 released, use the latest repo url (pkwarcraft@gmail.com)
|
||||
|
||||
* Thu Jan 05 2023 Pavel Raiskup <praiskup@redhat.com> 37.9-1
|
||||
- missmatching gpg key and rpms in openEuler 20.03 LTS (pkwarcraft@gmail.com)
|
||||
- drop unneccessary module docs from configuration files (nkadel@gmail.com)
|
||||
|
||||
* Tue Sep 27 2022 Pavel Raiskup <praiskup@redhat.com> 37.8-1
|
||||
- openEuler 22.03 configs added (yikunkero@gmail.com)
|
||||
- openEuler 20.03 configs added (yikunkero@gmail.com)
|
||||
- Oracle Linux 9 configs added (a.samets@gmail.com)
|
||||
- change license to spdx (msuchy@redhat.com)
|
||||
- Update to AlmaLinux Quay.io repo (srbala@gmail.com)
|
||||
- EPEL Koji repo not exposed when we are on EPEL Next (miro@hroncok.cz)
|
||||
|
||||
* Wed Aug 10 2022 Pavel Raiskup <praiskup@redhat.com> 37.7-1
|
||||
- depend on distribution-gpg-keys 1.76 (F38 key)
|
||||
|
||||
* Wed Aug 10 2022 Pavel Raiskup <praiskup@redhat.com> 37.6-1
|
||||
- Branch Fedora 37 configs (miro@hroncok.cz)
|
||||
- Add anolis-release for Anolis OS 7 and Anolis OS 8 templates (wb-
|
||||
zh951434@alibaba-inc.com)
|
||||
|
||||
* Fri Jul 22 2022 Pavel Raiskup <praiskup@redhat.com> 37.5-1
|
||||
- configs: add ELN local Koji repo
|
||||
- config: sync epel-8 and epel-9 templates
|
||||
- Add Rocky Linux 9 Configuration and Mod RL8 (label@rockylinux.org)
|
||||
- Update Fedora ELN repo template (sgallagh@redhat.com)
|
||||
- EuroLinux 9 chroot configs added (git@istiak.com)
|
||||
- Fedora 34 is EOL
|
||||
- circlelinux+epel-8 as epel-8 alternative
|
||||
- Fix dist value for openSUSE Leap 15.4 (ngompa@opensuse.org)
|
||||
- Add CircleLinux 8 configs (bella@cclinux.org)
|
||||
- Add openSUSE Leap 15.4 configs (ngompa@opensuse.org)
|
||||
- Move openSUSE Leap 15.2 to EOL directory (ngompa@opensuse.org)
|
||||
- Use MirrorCache for openSUSE repositories instead of MirrorBrain (ngompa@opensuse.org)
|
||||
- Add Anolis OS 7 and Anolis OS 8 templates and configs (wb-zh951434@alibaba-inc.com)
|
||||
|
||||
* Thu May 19 2022 Pavel Raiskup <praiskup@redhat.com> 37.4-1
|
||||
- Add AlmaLinux 9 and AlmaLinux 9 + EPEL configs (neal@gompa.dev)
|
||||
- Update the AlmaLinux 8 GPG key path (neal@gompa.dev)
|
||||
- Fix description typo on AlmaLinux 8 for x86_64 (neal@gompa.dev)
|
||||
- Add RHEL9 templates and configs (carl@george.computer)
|
||||
|
||||
* Wed Apr 06 2022 Pavel Raiskup <praiskup@redhat.com> 37.3-1
|
||||
- updated %%description field
|
||||
- provide 'epel-9' symlinks for 'fedpkg mockbuild'
|
||||
- allow n-2 gpg key for Fedora ELN (msuchy@redhat.com)
|
||||
- added config "description" fields for --list-chroots (msuchy@redhat.com)
|
||||
|
||||
* Thu Mar 03 2022 Pavel Raiskup <praiskup@redhat.com> 37.2-1
|
||||
- Update CentOS Stream 9 Extras repo to use correct key (ngompa@centosproject.org)
|
||||
- Add AlmaLinux+EPEL 8 for POWER (ppc64le) (ngompa13@gmail.com)
|
||||
- Add AlmaLinux 8 for POWER (ppc64le) (ngompa13@gmail.com)
|
||||
- Delete Fedora 37/Rawhide armhfp configs (miro@hroncok.cz)
|
||||
|
||||
* Fri Feb 04 2022 Pavel Raiskup <praiskup@redhat.com> 37.1-1
|
||||
- drop EL7 related %%build hack
|
||||
- link default.cfg file to the right EL N config file
|
||||
- Add centos-stream+epel-8 configs
|
||||
|
||||
* Wed Feb 02 2022 Pavel Raiskup <praiskup@redhat.com> 37-1
|
||||
- move CentOS/EPEL 8 configs to eol/
|
||||
- Fedora 36 branching, Rawhide == Fedora 37 now
|
||||
- depend on distribution-gpg-keys 1.64
|
||||
- drop failovermethod=priority from EL8 configs
|
||||
- Add Extras repo for CentOS Stream 9 (ngompa13@gmail.com)
|
||||
- remove el7 specific parts from the spec file (msuchy@redhat.com)
|
||||
|
||||
* Thu Dec 16 2021 Pavel Raiskup <praiskup@redhat.com> 36.4-1
|
||||
- add CentOS Stream 9 + EPEL Next 9 (ngompa13@gmail.com)
|
||||
- add compatibility symlinks for EPEL 7 to centos+epel-7-* (ngompa13@gmail.com)
|
||||
- EPEL 7 for AArch64 and PPC64 are EOL (ngompa13@gmail.com)
|
||||
- resolve the multiple "local" repo collision (from multiple templates)
|
||||
- configure the alternative help for missing 'epel-8-*' configs
|
||||
- Fedora 33 is EOL
|
||||
- rhelepel moved to rhel+epel
|
||||
- EOL the EPEL Playground configs (ngompa13@gmail.com)
|
||||
- Add rocky+epel confs + Disable devel-debug (tucklesepk@gmail.com)
|
||||
- Rename epel to centos+epel (ngompa13@gmail.com)
|
||||
- fix the root name and remove Next from the EPEL 9 configs (ngompa13@gmail.com)
|
||||
- rename 'epel-next' to 'centos-stream+epel-next' (ngompa13@gmail.com)
|
||||
- add epel9 repos to epel9 template (carl@george.computer)
|
||||
- rhbz#2026571 - expand dnf_vars (msuchy@redhat.com)
|
||||
- oraclelinux+epel configs (carl@george.computer)
|
||||
- Add AlmaLinux+EPEL configs (ngompa13@gmail.com)
|
||||
- add navy-8-x86_64 (adil@linux.com)
|
||||
- use quay.io Almalinux image (gotmax@e.email)
|
||||
- use fully qualified bootstrap_image name (gotmax@e.email)
|
||||
- update almalinux-8.tpl bootstrap_image (gotmax@e.email)
|
||||
- add Koji local repos to CentOS Stream configs (ngompa13@gmail.com)
|
||||
- reduce packages installed in epel chroots (carl@george.computer)
|
||||
|
||||
* Fri Oct 29 2021 Pavel Raiskup <praiskup@redhat.com> 36.3-1
|
||||
- add EuroLinux 8 aarch64 (alex@euro-linux.com)
|
||||
- add HA and RS configs to EuroLinux configs (alex@euro-linux.com)
|
||||
- Add epel9-next configs (carl@george.computer)
|
||||
|
||||
* Tue Oct 26 2021 Pavel Raiskup <praiskup@redhat.com> 36.2-1
|
||||
- bump eln to F36 (praiskup@redhat.com)
|
||||
|
||||
* Fri Oct 08 2021 Pavel Raiskup <praiskup@redhat.com> 36.1-1
|
||||
- Finalize CentOS Stream 9 configuration (ngompa13@gmail.com)
|
||||
- Update Oraclelinux 7/8 configs and add Oraclelinux EPEL 7/8 configs (darren.archibald@oracle.com)
|
||||
|
||||
* Thu Sep 16 2021 Miroslav Suchý <msuchy@redhat.com> 36-1
|
||||
- config: Align CentOS Stream 9 with the production configuration
|
||||
(ngompa13@gmail.com)
|
||||
- config: Disable installing weak dependencies on RHEL rebuilds
|
||||
(ngompa13@gmail.com)
|
||||
- config: Disable installing weak dependencies on CentOS Stream
|
||||
(ngompa13@gmail.com)
|
||||
- config: Validate GPG signatures for CentOS Stream 9 (ngompa13@gmail.com)
|
||||
- Add eurolinux-8 x86_64 and i686 buildroots (alex@euro-linux.com)
|
||||
|
||||
* Mon Aug 16 2021 Pavel Raiskup <praiskup@redhat.com> 35-1
|
||||
- config: add Fedora 35 configs
|
||||
|
||||
* Mon Jul 19 2021 Pavel Raiskup <praiskup@redhat.com> 34.6-1
|
||||
- Disable Rocky Linux "Devel" repo by default (ngompa13@gmail.com)
|
||||
- Fix URL for Rocky Linux repos in commented out "baseurl" lines
|
||||
(ngompa13@gmail.com)
|
||||
|
||||
* Mon Jul 19 2021 Pavel Raiskup <praiskup@redhat.com> 34.5-1
|
||||
- Add CentOS Stream 9 "preview" files
|
||||
- Add rocky support to mock (tucklesepk@gmail.com)
|
||||
- Add AlmaLinux 8 AArch64 target (ngompa13@gmail.com)
|
||||
- Add AlmaLinux Devel repo as an optional repo for AlmaLinux 8 (ngompa13@gmail.com)
|
||||
- Fix GPG key path for SLE updates in openSUSE Leap 15.3 (ngompa13@gmail.com)
|
||||
- Move Requires of shadow-utils from mock-core-configs to mock-filesystem (msuchy@redhat.com)
|
||||
- Switch CentOS templates to use quay.io images for bootstrap (carl@george.computer)
|
||||
- Add epel-next-8 configs (carl@george.computer)
|
||||
|
||||
* Tue Jun 08 2021 Pavel Raiskup <praiskup@redhat.com> 34.4-1
|
||||
- Add GPG keys and RPM repositories for openSUSE Leap 15.3 (ngompa13@gmail.com)
|
||||
- EOL Fedora 32 (msuchy@redhat.com)
|
||||
- sync centos-stream-8 with centos-stream-repos (msuchy@redhat.com)
|
||||
|
||||
* Tue Apr 27 2021 Pavel Raiskup <praiskup@redhat.com> 34.3-1
|
||||
- Add Oracle Linux 8 (ngompa13@gmail.com)
|
||||
- Add Oracle Linux 7 (ngompa13@gmail.com)
|
||||
- Add openSUSE Leap 15.3 (ngompa13@gmail.com)
|
||||
- openSUSE Leap 15.1 is EOL (ngompa13@gmail.com)
|
||||
- Add openSUSE Tumbleweed s390x config (ngompa13@gmail.com)
|
||||
- Add AlmaLinux 8 configs (ngompa13@gmail.com)
|
||||
- Remove make from default ELN buildroot (miro@hroncok.cz)
|
||||
|
||||
* Mon Feb 22 2021 Pavel Raiskup <praiskup@redhat.com> 34.2-1
|
||||
- configs: use Fedora N-1 gpg keys for ELN (praiskup@redhat.com)
|
||||
|
||||
* Thu Feb 11 2021 Pavel Raiskup <praiskup@redhat.com> 34.1-1
|
||||
- fix rawhide config after branching
|
||||
|
||||
* Mon Feb 08 2021 Pavel Raiskup <praiskup@redhat.com> 34-1
|
||||
- add fedora 34 configs (msuchy@redhat.com)
|
||||
- require distribution-gpg-keys with F35 keys (msuchy@redhat.com)
|
||||
- make F35 symlink to rawhide (msuchy@redhat.com)
|
||||
- Rename centos-stream centos-stream-8 (orion@nwra.com)
|
||||
|
||||
* Tue Feb 02 2021 Pavel Raiskup <praiskup@redhat.com> 33.6-1
|
||||
- Add Mageia 8 stable release configs (ngompa13@gmail.com)
|
||||
- Update Mageia Cauldron configuration for Mageia 9 (ngompa13@gmail.com)
|
||||
- add RHEL 6 x86_64 configuration
|
||||
|
||||
* Mon Jan 18 2021 Pavel Raiskup <praiskup@redhat.com> 33.5-1
|
||||
- fix typo in host-specific config generater
|
||||
|
||||
* Mon Jan 18 2021 Pavel Raiskup <praiskup@redhat.com> 33.4-1
|
||||
- fix bootstrapping of newer Fedora on EL7
|
||||
- efine a bootstrap image for openSUSE Tumbleweed (ngompa13@gmail.com)
|
||||
- use fully qualified paths for Fedora/CentOS/RHEL images (ngompa13@gmail.com)
|
||||
- rename repoid for centos8 (msuchy@redhat.com)
|
||||
- EOL CentOS 6 (msuchy@redhat.com)
|
||||
- EOL Fedora 31 (msuchy@redhat.com)
|
||||
|
||||
* Fri Nov 20 2020 Pavel Raiskup <praiskup@redhat.com> 33.3-1
|
||||
- ELN should use for build Everything repository (jkonecny@redhat.com)
|
||||
|
||||
|
314
mock-riscv64-configs.patch
Normal file
314
mock-riscv64-configs.patch
Normal file
@ -0,0 +1,314 @@
|
||||
diff --git a/etc/mock/fedora-39-riscv64.cfg b/etc/mock/fedora-39-riscv64.cfg
|
||||
new file mode 100644
|
||||
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..2274e24
|
||||
--- /dev/null
|
||||
+++ b/etc/mock/fedora-40-riscv64.cfg
|
||||
@@ -0,0 +1,74 @@
|
||||
+config_opts['releasever'] = '40'
|
||||
+config_opts['target_arch'] = 'riscv64'
|
||||
+config_opts['legal_host_arches'] = ('riscv64',)
|
||||
+
|
||||
+config_opts['root'] = 'fedora-{{ releasever }}-{{ target_arch }}'
|
||||
+
|
||||
+config_opts['description'] = 'Fedora {{ releasever }}'
|
||||
+# Pull directly from Koji working repositories
|
||||
+config_opts['koji_direct'] = False
|
||||
+
|
||||
+config_opts['chroot_setup_cmd'] = 'install @{% if not koji_direct %}buildsys-{% endif %}build'
|
||||
+
|
||||
+config_opts['dist'] = 'fc{{ releasever }}' # only useful for --resultdir variable subst
|
||||
+config_opts['extra_chroot_dirs'] = [ '/run/lock', ]
|
||||
+
|
||||
+# https://fedoraproject.org/wiki/Changes/BuildWithDNF5 for Fedora 40+
|
||||
+config_opts['package_manager'] = '{% if releasever|int >= 40 %}dnf5{% else %}dnf{% endif %}'
|
||||
+
|
||||
+# Disabled, until Fedora 40 (riscv64) container image is generated
|
||||
+config_opts['use_bootstrap'] = False
|
||||
+#config_opts['bootstrap_image'] = 'fedora.riscv.rocks:3000/davidlt/fedora:{{ releasever }}'
|
||||
+#config_opts['bootstrap_image'] = 'fedora.riscv.rocks:3000/davidlt/fedora:38'
|
||||
+
|
||||
+config_opts['dnf.conf'] = """
|
||||
+[main]
|
||||
+keepcache=1
|
||||
+system_cachedir=/var/cache/dnf
|
||||
+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:f{{ releasever }}
|
||||
+protected_packages=
|
||||
+user_agent={{ user_agent }}
|
||||
+
|
||||
+# repos
|
||||
+
|
||||
+[local]
|
||||
+name=local
|
||||
+baseurl=http://fedora.riscv.rocks/repos/f{{ releasever }}-build/latest/$basearch/
|
||||
+cost=2000
|
||||
+enabled={{ koji_direct }}
|
||||
+skip_if_unavailable=False
|
||||
+
|
||||
+{% if not koji_direct %}
|
||||
+[fedora]
|
||||
+name=fedora
|
||||
+baseurl=http://fedora.riscv.rocks/repos-dist/f{{ releasever }}/latest/$basearch/
|
||||
+gpgcheck=0
|
||||
+skip_if_unavailable=False
|
||||
+
|
||||
+[fedora-debuginfo]
|
||||
+name=fedora-debuginfo
|
||||
+baseurl=http://fedora.riscv.rocks/repos-dist/f{{ releasever }}/latest/$basearch/debug/
|
||||
+enabled=0
|
||||
+gpgcheck=0
|
||||
+skip_if_unavailable=False
|
||||
+
|
||||
+[fedora-source]
|
||||
+name=fedora-source
|
||||
+baseurl=http://fedora.riscv.rocks/repos-dist/f{{ releasever }}/latest/src/
|
||||
+gpgcheck=0
|
||||
+enabled=0
|
||||
+skip_if_unavailable=False
|
||||
+{% endif %}
|
||||
+"""
|
||||
diff --git a/etc/mock/fedora-41-riscv64.cfg b/etc/mock/fedora-41-riscv64.cfg
|
||||
new file mode 100644
|
||||
index 0000000..d13336a
|
||||
--- /dev/null
|
||||
+++ b/etc/mock/fedora-41-riscv64.cfg
|
||||
@@ -0,0 +1,74 @@
|
||||
+config_opts['releasever'] = '41'
|
||||
+config_opts['target_arch'] = 'riscv64'
|
||||
+config_opts['legal_host_arches'] = ('riscv64',)
|
||||
+
|
||||
+config_opts['root'] = 'fedora-{{ releasever }}-{{ target_arch }}'
|
||||
+
|
||||
+config_opts['description'] = 'Fedora {{ releasever }}'
|
||||
+# Pull directly from Koji working repositories
|
||||
+config_opts['koji_direct'] = False
|
||||
+
|
||||
+config_opts['chroot_setup_cmd'] = 'install @{% if not koji_direct %}buildsys-{% endif %}build'
|
||||
+
|
||||
+config_opts['dist'] = 'fc{{ releasever }}' # only useful for --resultdir variable subst
|
||||
+config_opts['extra_chroot_dirs'] = [ '/run/lock', ]
|
||||
+
|
||||
+# https://fedoraproject.org/wiki/Changes/BuildWithDNF5 for Fedora 40+
|
||||
+config_opts['package_manager'] = 'dnf5'
|
||||
+
|
||||
+# Disabled, until Fedora 41 (riscv64) container image is generated
|
||||
+config_opts['use_bootstrap'] = False
|
||||
+#config_opts['bootstrap_image'] = 'fedora.riscv.rocks:3000/davidlt/fedora:{{ releasever }}'
|
||||
+#config_opts['bootstrap_image'] = 'fedora.riscv.rocks:3000/davidlt/fedora:41'
|
||||
+
|
||||
+config_opts['dnf.conf'] = """
|
||||
+[main]
|
||||
+keepcache=1
|
||||
+system_cachedir=/var/cache/dnf
|
||||
+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:f{{ releasever }}
|
||||
+protected_packages=
|
||||
+user_agent={{ user_agent }}
|
||||
+
|
||||
+# repos
|
||||
+
|
||||
+[local]
|
||||
+name=local
|
||||
+baseurl=http://fedora.riscv.rocks/repos/f{{ releasever }}-build/latest/$basearch/
|
||||
+cost=2000
|
||||
+enabled={{ koji_direct }}
|
||||
+skip_if_unavailable=False
|
||||
+
|
||||
+{% if not koji_direct %}
|
||||
+[fedora]
|
||||
+name=fedora
|
||||
+baseurl=http://fedora.riscv.rocks/repos-dist/f{{ releasever }}/latest/$basearch/
|
||||
+gpgcheck=0
|
||||
+skip_if_unavailable=False
|
||||
+
|
||||
+[fedora-debuginfo]
|
||||
+name=fedora-debuginfo
|
||||
+baseurl=http://fedora.riscv.rocks/repos-dist/f{{ releasever }}/latest/$basearch/debug/
|
||||
+enabled=0
|
||||
+gpgcheck=0
|
||||
+skip_if_unavailable=False
|
||||
+
|
||||
+[fedora-source]
|
||||
+name=fedora-source
|
||||
+baseurl=http://fedora.riscv.rocks/repos-dist/f{{ releasever }}/latest/src/
|
||||
+gpgcheck=0
|
||||
+enabled=0
|
||||
+skip_if_unavailable=False
|
||||
+{% endif %}
|
||||
+"""
|
||||
diff --git a/etc/mock/fedora-42-riscv64.cfg b/etc/mock/fedora-42-riscv64.cfg
|
||||
new file mode 100644
|
||||
index 0000000..9a94f09
|
||||
--- /dev/null
|
||||
+++ b/etc/mock/fedora-42-riscv64.cfg
|
||||
@@ -0,0 +1,60 @@
|
||||
+config_opts['releasever'] = '42'
|
||||
+config_opts['target_arch'] = 'riscv64'
|
||||
+config_opts['legal_host_arches'] = ('riscv64',)
|
||||
+
|
||||
+config_opts['root'] = 'fedora-rawhide-{{ target_arch }}'
|
||||
+
|
||||
+config_opts['description'] = 'Fedora Rawhide'
|
||||
+# Pull directly from Koji working repositories
|
||||
+config_opts['koji_direct'] = True
|
||||
+
|
||||
+config_opts['chroot_setup_cmd'] = 'install @{% if not koji_direct %}buildsys-{% endif %}build'
|
||||
+
|
||||
+config_opts['dist'] = 'rawhide' # only useful for --resultdir variable subst
|
||||
+config_opts['extra_chroot_dirs'] = [ '/run/lock', ]
|
||||
+
|
||||
+# https://fedoraproject.org/wiki/Changes/BuildWithDNF5 for Fedora 40+
|
||||
+config_opts['package_manager'] = 'dnf5'
|
||||
+
|
||||
+# Disabled, until Fedora Rawhide (riscv64) container image is generated
|
||||
+config_opts['use_bootstrap'] = False
|
||||
+#config_opts['bootstrap_image'] = 'fedora.riscv.rocks:3000/davidlt/fedora:{{ releasever }}'
|
||||
+#config_opts['bootstrap_image'] = 'fedora.riscv.rocks:3000/davidlt/fedora:rawhide'
|
||||
+
|
||||
+config_opts['dnf.conf'] = """
|
||||
+[main]
|
||||
+keepcache=1
|
||||
+system_cachedir=/var/cache/dnf
|
||||
+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:f{{ releasever }}
|
||||
+protected_packages=
|
||||
+user_agent={{ user_agent }}
|
||||
+
|
||||
+# repos
|
||||
+
|
||||
+[local]
|
||||
+name=local
|
||||
+baseurl=http://fedora.riscv.rocks/repos/rawhide/latest/$basearch/
|
||||
+cost=2000
|
||||
+enabled={{ koji_direct }}
|
||||
+skip_if_unavailable=False
|
||||
+
|
||||
+{% if not koji_direct %}
|
||||
+[fedora]
|
||||
+name=fedora
|
||||
+baseurl=http://fedora.riscv.rocks/repos/rawhide/latest/$basearch/
|
||||
+gpgcheck=0
|
||||
+skip_if_unavailable=False
|
||||
+{% endif %}
|
||||
+"""
|
||||
diff --git a/etc/mock/fedora-eln-riscv64.cfg b/etc/mock/fedora-eln-riscv64.cfg
|
||||
new file mode 100644
|
||||
index 0000000..3cf209c
|
||||
--- /dev/null
|
||||
+++ b/etc/mock/fedora-eln-riscv64.cfg
|
||||
@@ -0,0 +1,5 @@
|
||||
+config_opts['target_arch'] = 'riscv64'
|
||||
+config_opts['legal_host_arches'] = ('riscv64',)
|
||||
+
|
||||
+include('templates/fedora-eln.tpl')
|
||||
+config_opts['description'] = 'Fedora ELN'
|
||||
diff --git a/etc/mock/fedora-rawhide-riscv64.cfg b/etc/mock/fedora-rawhide-riscv64.cfg
|
||||
new file mode 100644
|
||||
index 0000000..9a94f09
|
||||
--- /dev/null
|
||||
+++ b/etc/mock/fedora-rawhide-riscv64.cfg
|
||||
@@ -0,0 +1,60 @@
|
||||
+config_opts['releasever'] = '42'
|
||||
+config_opts['target_arch'] = 'riscv64'
|
||||
+config_opts['legal_host_arches'] = ('riscv64',)
|
||||
+
|
||||
+config_opts['root'] = 'fedora-rawhide-{{ target_arch }}'
|
||||
+
|
||||
+config_opts['description'] = 'Fedora Rawhide'
|
||||
+# Pull directly from Koji working repositories
|
||||
+config_opts['koji_direct'] = True
|
||||
+
|
||||
+config_opts['chroot_setup_cmd'] = 'install @{% if not koji_direct %}buildsys-{% endif %}build'
|
||||
+
|
||||
+config_opts['dist'] = 'rawhide' # only useful for --resultdir variable subst
|
||||
+config_opts['extra_chroot_dirs'] = [ '/run/lock', ]
|
||||
+
|
||||
+# https://fedoraproject.org/wiki/Changes/BuildWithDNF5 for Fedora 40+
|
||||
+config_opts['package_manager'] = 'dnf5'
|
||||
+
|
||||
+# Disabled, until Fedora Rawhide (riscv64) container image is generated
|
||||
+config_opts['use_bootstrap'] = False
|
||||
+#config_opts['bootstrap_image'] = 'fedora.riscv.rocks:3000/davidlt/fedora:{{ releasever }}'
|
||||
+#config_opts['bootstrap_image'] = 'fedora.riscv.rocks:3000/davidlt/fedora:rawhide'
|
||||
+
|
||||
+config_opts['dnf.conf'] = """
|
||||
+[main]
|
||||
+keepcache=1
|
||||
+system_cachedir=/var/cache/dnf
|
||||
+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:f{{ releasever }}
|
||||
+protected_packages=
|
||||
+user_agent={{ user_agent }}
|
||||
+
|
||||
+# repos
|
||||
+
|
||||
+[local]
|
||||
+name=local
|
||||
+baseurl=http://fedora.riscv.rocks/repos/rawhide/latest/$basearch/
|
||||
+cost=2000
|
||||
+enabled={{ koji_direct }}
|
||||
+skip_if_unavailable=False
|
||||
+
|
||||
+{% if not koji_direct %}
|
||||
+[fedora]
|
||||
+name=fedora
|
||||
+baseurl=http://fedora.riscv.rocks/repos/rawhide/latest/$basearch/
|
||||
+gpgcheck=0
|
||||
+skip_if_unavailable=False
|
||||
+{% endif %}
|
||||
+"""
|
2
sources
2
sources
@ -1 +1 @@
|
||||
SHA512 (mock-core-configs-33.3.tar.gz) = ba783cf834fc1066977448287b11b545008de4b72804cf965a6cb76e1f439e99688a2c653068ec6c302845c80b067ffb12c0d77477026207cca28766eba9774e
|
||||
SHA512 (mock-core-configs-41.4.tar.gz) = 5aaa5ade014f4d0bfe758380181b0ba9b3ed79d8ce473aa718ca9e1e815f9b7705554f74b6d3d5629df4688fe954c8cf16a50305cfc15e1e75155cf094860f29
|
||||
|
Loading…
Reference in New Issue
Block a user