|
|
|
@ -5,14 +5,14 @@
|
|
|
|
|
# The library is for internal code reuse and is not a public API
|
|
|
|
|
%global __cargo_is_lib 0
|
|
|
|
|
|
|
|
|
|
%global dracutcommit 71817332483aad341ffc666ed69b7869a7a90652
|
|
|
|
|
%global dracutcommit 5a456ad690acffb43d49abed9f1940c915d68694
|
|
|
|
|
%global dracutshortcommit %(c=%{dracutcommit}; echo ${c:0:7})
|
|
|
|
|
|
|
|
|
|
%global crate coreos-installer
|
|
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
|
Version: 0.22.1
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
Version: 0.17.0
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: Installer for Fedora CoreOS and RHEL CoreOS
|
|
|
|
|
|
|
|
|
|
# Upstream license specification: Apache-2.0
|
|
|
|
@ -23,6 +23,10 @@ Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{
|
|
|
|
|
Source1: https://github.com/coreos/%{crate}/releases/download/v%{version}/%{crate}-%{version}-vendor.tar.gz
|
|
|
|
|
Source2: https://github.com/coreos/coreos-installer-dracut/archive/%{dracutcommit}/coreos-installer-dracut-%{dracutshortcommit}.tar.gz
|
|
|
|
|
|
|
|
|
|
# The RHEL 8 rust-toolset macros don't let us enable features from the
|
|
|
|
|
# %%cargo_* macros. Enable rdcore directly in Cargo.toml.
|
|
|
|
|
Patch0: enable-rdcore.patch
|
|
|
|
|
|
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
|
%if 0%{?rhel} && !0%{?eln}
|
|
|
|
|
BuildRequires: rust-toolset
|
|
|
|
@ -81,13 +85,21 @@ Obsoletes: coreos-installer-dracut < 0.0.1
|
|
|
|
|
%prep
|
|
|
|
|
%autosetup -n %{crate}-%{version} -p1 -a 2
|
|
|
|
|
%if 0%{?rhel} && !0%{?eln}
|
|
|
|
|
# Hackily enable rdcore manually on RHEL (RHEL macros do not take -f)
|
|
|
|
|
sed -i '/^\[features\]/a \ \ default = ["rdcore"]' Cargo.toml
|
|
|
|
|
tar xvf %{SOURCE1}
|
|
|
|
|
%cargo_prep -v vendor
|
|
|
|
|
mkdir -p .cargo
|
|
|
|
|
cat >.cargo/config << EOF
|
|
|
|
|
[source.crates-io]
|
|
|
|
|
replace-with = "vendored-sources"
|
|
|
|
|
|
|
|
|
|
[source.vendored-sources]
|
|
|
|
|
directory = "vendor"
|
|
|
|
|
EOF
|
|
|
|
|
%else
|
|
|
|
|
%cargo_prep
|
|
|
|
|
%endif
|
|
|
|
|
# Fix SIGSEGV in tests on s390x
|
|
|
|
|
# https://bugzilla.redhat.com/show_bug.cgi?id=1883457
|
|
|
|
|
sed -i 's/"-Ccodegen-units=1",//' .cargo/config
|
|
|
|
|
|
|
|
|
|
%if !0%{?rhel} || 0%{?eln}
|
|
|
|
|
%generate_buildrequires
|
|
|
|
@ -173,185 +185,60 @@ from the initramfs.
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Tue Nov 26 2024 MSVSphere Packaging Team <packager@msvsphere-os.ru> - 0.22.1-2
|
|
|
|
|
- Rebuilt for MSVSphere 10
|
|
|
|
|
|
|
|
|
|
* Wed Jul 31 2024 Steven Presti <spresti@redhat.com> - 0.22.1-2
|
|
|
|
|
- Rebuild for correct jira, resolves RHEL-52233
|
|
|
|
|
|
|
|
|
|
* Fri Jul 26 2024 Packit <hello@packit.dev> - 0.22.1-1
|
|
|
|
|
- New upstream release
|
|
|
|
|
|
|
|
|
|
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 0.20.0-5
|
|
|
|
|
- Bump release for June 2024 mass rebuild
|
|
|
|
|
|
|
|
|
|
* Sun Feb 04 2024 Yaakov Selkowitz <yselkowi@redhat.com> - 0.20.0-4
|
|
|
|
|
- Update Rust macro usage
|
|
|
|
|
|
|
|
|
|
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.20.0-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Jan 09 2024 Fabio Valentini <decathorpe@gmail.com> - 0.20.0-2
|
|
|
|
|
- Refresh for latest Rust package template; update license tag for SPDX.
|
|
|
|
|
|
|
|
|
|
* Wed Dec 20 2023 Packit <hello@packit.dev> - 0.20.0-1
|
|
|
|
|
- New upstream release
|
|
|
|
|
|
|
|
|
|
* Thu Dec 07 2023 Steven Presti <spresti@redhat.com> - 0.18.0-3
|
|
|
|
|
- Remove rdcore patch, and move its logic into %prep
|
|
|
|
|
|
|
|
|
|
* Fri Dec 01 2023 Fabio Valentini <decathorpe@gmail.com> - 0.18.0-2
|
|
|
|
|
- Rebuild for openssl crate >= v0.10.60 (RUSTSEC-2023-0044, RUSTSEC-2023-0072)
|
|
|
|
|
|
|
|
|
|
* Fri Sep 8 2023 Nikita Dubrovskii <nikita@linux.ibm.com> - 0.18.0-1
|
|
|
|
|
- New release
|
|
|
|
|
|
|
|
|
|
* Mon Aug 14 2023 Aashish Radhakrishnan <aaradhak@redhat.com> - 0.17.0-5
|
|
|
|
|
- Backport patch that adds F40 signing key
|
|
|
|
|
|
|
|
|
|
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.17.0-4
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed May 03 2023 Fabio Valentini <decathorpe@gmail.com> - 0.17.0-3
|
|
|
|
|
- Rebuild for tokio, h2, and openssl crate security updates
|
|
|
|
|
|
|
|
|
|
* Tue Apr 11 2023 Irene Diez <idiez@redhat.com> - 0.17.0-2
|
|
|
|
|
- Update dracut/scripts: no need to mount the filesystem
|
|
|
|
|
https://github.com/coreos/coreos-installer-dracut/pull/30
|
|
|
|
|
|
|
|
|
|
* Fri Mar 10 2023 Benjamin Gilbert <bgilbert@redhat.com> - 0.17.0-1
|
|
|
|
|
* Tue Mar 14 2023 Benjamin Gilbert <bgilbert@redhat.com> - 0.17.0-1
|
|
|
|
|
- New release
|
|
|
|
|
|
|
|
|
|
* Tue Feb 21 2023 Paul Whalen <pwhalen@fedoraproject.org> - 0.16.1-6
|
|
|
|
|
- Enable coreos-installer-dracut in Fedora
|
|
|
|
|
|
|
|
|
|
* Fri Feb 17 2023 Jonathan Lebon <jonathan@jlebon.com> - 0.16.1-5
|
|
|
|
|
- Backport patch that adds F39 signing key
|
|
|
|
|
* Wed Dec 07 2022 Irene Diez <idiez@redhat.com> - 0.16.1-2
|
|
|
|
|
- Add ignition support to coi-dracut
|
|
|
|
|
- Fix usb installation
|
|
|
|
|
|
|
|
|
|
* Sat Feb 04 2023 Fabio Valentini <decathorpe@gmail.com> - 0.16.1-4
|
|
|
|
|
- Rebuild for fixed frame pointer compiler flags in Rust RPM macros.
|
|
|
|
|
|
|
|
|
|
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.16.1-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Oct 14 2022 Benjamin Gilbert <bgilbert@redhat.com> - 0.16.1-2
|
|
|
|
|
- Build with mbrman 0.5.0
|
|
|
|
|
|
|
|
|
|
* Mon Sep 19 2022 Benjamin Gilbert <bgilbert@redhat.com> - 0.16.1-1
|
|
|
|
|
- New release
|
|
|
|
|
- Sync coreos-installer-dracut with CentOS Stream 9
|
|
|
|
|
|
|
|
|
|
* Thu Sep 15 2022 Steven Presti <spresti@redhat.com> - 0.16.0-1
|
|
|
|
|
- New release
|
|
|
|
|
* Wed Sep 21 2022 Steven Presti <spresti@redhat.com> - 0.16.1-1
|
|
|
|
|
- new version
|
|
|
|
|
- Add libzstd dependency
|
|
|
|
|
|
|
|
|
|
* Mon Aug 22 2022 Dusty Mabe <dusty@dustymabe.com> - 0.15.0-5
|
|
|
|
|
- Backport patch that adds F38 signing key
|
|
|
|
|
* Thu Aug 18 2022 Antonio Murdaca <runcom@linux.com> - 0.15.0-2
|
|
|
|
|
- update coi-dracut to support LVM backed growfs service
|
|
|
|
|
|
|
|
|
|
* Tue Aug 02 2022 Benjamin Gilbert <bgilbert@redhat.com> - 0.15.0-4
|
|
|
|
|
- Fix build with rust-bytes 1.2.0
|
|
|
|
|
|
|
|
|
|
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.15.0-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Sun Jul 10 2022 Benjamin Gilbert <bgilbert@redhat.com> - 0.15.0-2
|
|
|
|
|
- Sync coreos-installer-dracut with CentOS Stream 9
|
|
|
|
|
- Fix build with rust-regex 1.6.0
|
|
|
|
|
|
|
|
|
|
* Fri Jun 17 2022 Michael Armijo <marmijo@redhat.com> - 0.15.0-1
|
|
|
|
|
- New release
|
|
|
|
|
- Install non-binary files using Makefile install targets
|
|
|
|
|
- Add man pages
|
|
|
|
|
|
|
|
|
|
* Wed Apr 27 2022 Jonathan Lebon <jonathan@jlebon.com> - 0.14.0-1
|
|
|
|
|
- New release
|
|
|
|
|
|
|
|
|
|
* Wed Mar 23 2022 Jonathan Lebon <jonathan@jlebon.com> - 0.13.1-3
|
|
|
|
|
- Backport "blockdev: rework EFI vendor dir checking"
|
|
|
|
|
https://github.com/coreos/coreos-installer/pull/802 for
|
|
|
|
|
https://github.com/coreos/fedora-coreos-tracker/issues/1116
|
|
|
|
|
|
|
|
|
|
* Tue Feb 15 2022 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.13.1-2
|
|
|
|
|
- Rebuild with package notes
|
|
|
|
|
|
|
|
|
|
* Sun Feb 13 2022 Jonathan Lebon <jonathan@jlebon.com> - 0.13.1-1
|
|
|
|
|
* Tue Jul 12 2022 Michael Armijo <marmijo@redhat.com> - 0.15.0-1
|
|
|
|
|
- New release
|
|
|
|
|
- Sync with Fedora package
|
|
|
|
|
- Install coreos-installer-dracut with "make install"
|
|
|
|
|
|
|
|
|
|
* Thu Feb 10 2022 Jonathan Lebon <jonathan@jlebon.com> - 0.12.0-4
|
|
|
|
|
- Backport "signing-keys: regular Fedora cycle rotation of keys"
|
|
|
|
|
https://github.com/coreos/coreos-installer/pull/770
|
|
|
|
|
* Thu Feb 24 2022 Antonio Murdaca <runcom@linux.com> - 0.11.0-4
|
|
|
|
|
- update coi-dracut to fix growfs service Before
|
|
|
|
|
|
|
|
|
|
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.12.0-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
* Thu Feb 10 2022 Antonio Murdaca <runcom@linux.com> - 0.11.0-3
|
|
|
|
|
- update coi-dracut to support default poweroff behavior
|
|
|
|
|
|
|
|
|
|
* Mon Dec 20 2021 Benjamin Gilbert <bgilbert@redhat.com> - 0.12.0-2
|
|
|
|
|
- Unbundle serde_with and its dependencies
|
|
|
|
|
* Wed Jan 26 2022 Antonio Murdaca <runcom@linux.com> - 0.11.0-2
|
|
|
|
|
- Bump coreos-installer-dracut to support encrypted rootfs
|
|
|
|
|
|
|
|
|
|
* Fri Dec 17 2021 Benjamin Gilbert <bgilbert@redhat.com> - 0.12.0-1
|
|
|
|
|
* Wed Dec 15 2021 Sohan Kunkerkar <skunkerk@redhat.com> - 0.11.0-1
|
|
|
|
|
- New release
|
|
|
|
|
- Temporarily bundle serde_with and its dependencies
|
|
|
|
|
- Disable LTO to fix armv7hl builds
|
|
|
|
|
|
|
|
|
|
* Wed Dec 15 2021 Sohan Kunkerkar <skunkerk@redhat.com> - 0.11.0-3
|
|
|
|
|
- Remove conditional around sourcing the vendor tarball
|
|
|
|
|
- Fix inadvertent inclusion of coreos-installer-dracut in -bootinfra on RHEL
|
|
|
|
|
- Have -dracut own 51coreos-installer directory on RHEL
|
|
|
|
|
- Bump coreos-installer-dracut
|
|
|
|
|
|
|
|
|
|
* Mon Nov 29 2021 Jonathan Lebon <jonathan@jlebon.com> - 0.11.0-2
|
|
|
|
|
- Backport "miniso: handle hardlinked files"
|
|
|
|
|
https://github.com/coreos/coreos-installer/pull/694
|
|
|
|
|
|
|
|
|
|
* Thu Nov 18 2021 Benjamin Gilbert <bgilbert@redhat.com> - 0.11.0-1
|
|
|
|
|
- New release
|
|
|
|
|
|
|
|
|
|
* Thu Nov 04 2021 Sohan Kunkerkar <skunkerk@redhat.com> - 0.10.1-3
|
|
|
|
|
* Tue Nov 30 2021 Sohan Kunkerkar <skunkerk@redhat.com> - 0.10.1-6
|
|
|
|
|
- Vendor rust dependencies on RHEL only
|
|
|
|
|
- Add coreos-installer-dracut subpackage on RHEL only
|
|
|
|
|
|
|
|
|
|
* Tue Oct 12 2021 Benjamin Gilbert <bgilbert@redhat.com> - 0.10.1-2
|
|
|
|
|
- Rebuild for F33 bump
|
|
|
|
|
|
|
|
|
|
* Mon Oct 11 2021 Benjamin Gilbert <bgilbert@redhat.com> - 0.10.1-1
|
|
|
|
|
- New release
|
|
|
|
|
|
|
|
|
|
* Tue Sep 14 2021 Sahana Prasad <sahana@redhat.com> - 0.10.0-3
|
|
|
|
|
- Rebuilt with OpenSSL 3.0.0
|
|
|
|
|
|
|
|
|
|
* Tue Aug 17 2021 Dusty Mabe <dusty@dustymabe.com> - 0.10.0-2
|
|
|
|
|
- Add F36 signing key
|
|
|
|
|
|
|
|
|
|
* Wed Aug 04 2021 Jonathan Lebon <jonathan@jlebon.com> - 0.10.0-1
|
|
|
|
|
- New release
|
|
|
|
|
|
|
|
|
|
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.1-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
* Fri Nov 26 2021 Antonio Murdaca <runcom@linux.com> - 0.10.1-5
|
|
|
|
|
- fix https://bugzilla.redhat.com/show_bug.cgi?id=2027255
|
|
|
|
|
|
|
|
|
|
* Tue Jul 13 2021 Jonathan Lebon <jonathan@jlebon.com> - 0.9.1-2
|
|
|
|
|
- Backport "install: restrict access permissions on /boot/ignition{,/config.ign}"
|
|
|
|
|
https://github.com/coreos/coreos-installer/pull/571
|
|
|
|
|
* Thu Nov 18 2021 Antonio Murdaca <runcom@linux.com> - 0.10.1-4
|
|
|
|
|
- fix dracut module dependencies
|
|
|
|
|
|
|
|
|
|
* Mon May 17 2021 Sohan Kunkerkar <skunkerk@redhat.com> - 0.9.1-1
|
|
|
|
|
- New release
|
|
|
|
|
* Wed Nov 17 2021 Antonio Murdaca <runcom@linux.com> - 0.10.1-3
|
|
|
|
|
- fix dracut module installation target
|
|
|
|
|
|
|
|
|
|
* Thu Apr 08 2021 Sohan Kunkerkar <skunkerk@redhat.com> - 0.9.0-2
|
|
|
|
|
- Fix dracut library path
|
|
|
|
|
* Tue Oct 26 2021 Antonio Murdaca <runcom@linux.com> - 0.10.1-2
|
|
|
|
|
- rebuilt
|
|
|
|
|
|
|
|
|
|
* Thu Apr 08 2021 Sohan Kunkerkar <skunkerk@redhat.com> - 0.9.0-1
|
|
|
|
|
* Mon Oct 25 2021 Antonio Murdaca <runcom@linux.com> - 0.10.1-1
|
|
|
|
|
- New release
|
|
|
|
|
- Fix hardcoded library path
|
|
|
|
|
|
|
|
|
|
* Tue Mar 16 2021 Sohan Kunkerkar <skunkerk@redhat.com> - 0.8.0-1
|
|
|
|
|
- New release
|
|
|
|
|
|
|
|
|
|
* Mon Mar 01 2021 Fabio Valentini <decathorpe@gmail.com> - 0.7.2-5
|
|
|
|
|
- Backport trivial commit d94715c to allow building with nix 0.20.
|
|
|
|
|
|
|
|
|
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.2-4
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Mon Jan 04 2021 Benjamin Gilbert <bgilbert@redhat.com> - 0.7.2-3
|
|
|
|
|
- Add Requires for programs invoked by coreos-installer
|
|
|
|
|
* Thu Sep 16 11:20:52 CET 2021 Antonio Murdaca <amurdaca@redhat.com> - 0.10.0-1
|
|
|
|
|
- New bumped release
|
|
|
|
|
|
|
|
|
|
* Mon Dec 28 13:28:50 CET 2020 Igor Raits <ignatenkobrain@fedoraproject.org> - 0.7.2-2
|
|
|
|
|
- Rebuild
|
|
|
|
|