Enable coreos-installer-dracut in Fedora
Signed-off-by: Paul Whalen <pwhalen@fedoraproject.org>
This commit is contained in:
parent
6624948537
commit
029a3152a7
@ -12,7 +12,7 @@
|
|||||||
|
|
||||||
Name: rust-%{crate}
|
Name: rust-%{crate}
|
||||||
Version: 0.16.1
|
Version: 0.16.1
|
||||||
Release: 5%{?dist}
|
Release: 6%{?dist}
|
||||||
Summary: Installer for Fedora CoreOS and RHEL CoreOS
|
Summary: Installer for Fedora CoreOS and RHEL CoreOS
|
||||||
|
|
||||||
# Upstream license specification: Apache-2.0
|
# Upstream license specification: Apache-2.0
|
||||||
@ -119,8 +119,6 @@ sed -i 's/"-Ccodegen-units=1",//' .cargo/config
|
|||||||
%install
|
%install
|
||||||
%if 0%{?rhel} && !0%{?eln}
|
%if 0%{?rhel} && !0%{?eln}
|
||||||
%make_install RELEASE=1
|
%make_install RELEASE=1
|
||||||
# 51coreos-installer for coreos-installer-dracut
|
|
||||||
%make_install -C coreos-installer-dracut-%{dracutcommit}
|
|
||||||
%else
|
%else
|
||||||
%cargo_install -f rdcore
|
%cargo_install -f rdcore
|
||||||
# Install binaries, dracut modules, units, targets, generators for running via systemd
|
# Install binaries, dracut modules, units, targets, generators for running via systemd
|
||||||
@ -132,6 +130,9 @@ make install-data DESTDIR=%{buildroot}
|
|||||||
mv %{buildroot}%{_bindir}/rdcore %{buildroot}%{dracutlibdir}/modules.d/50rdcore/
|
mv %{buildroot}%{_bindir}/rdcore %{buildroot}%{dracutlibdir}/modules.d/50rdcore/
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
# 51coreos-installer for coreos-installer-dracut
|
||||||
|
%make_install -C coreos-installer-dracut-%{dracutcommit}
|
||||||
|
|
||||||
%package -n %{crate}-bootinfra
|
%package -n %{crate}-bootinfra
|
||||||
Summary: %{crate} boot-time infrastructure for use on Fedora/RHEL CoreOS
|
Summary: %{crate} boot-time infrastructure for use on Fedora/RHEL CoreOS
|
||||||
Requires: %{crate}%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
|
Requires: %{crate}%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
|
||||||
@ -157,18 +158,16 @@ RHEL CoreOS. It is not needed on other platforms.
|
|||||||
%{_unitdir}/*
|
%{_unitdir}/*
|
||||||
%{_systemdgeneratordir}/*
|
%{_systemdgeneratordir}/*
|
||||||
|
|
||||||
%if 0%{?rhel} && !0%{?eln}
|
|
||||||
%package -n %{crate}-dracut
|
%package -n %{crate}-dracut
|
||||||
Summary: Dracut module for running coreos-installer in the initrd
|
Summary: Dracut module for running coreos-installer in the initrd in IoT/Edge
|
||||||
Requires: %{crate} = %{version}-%{release}
|
Requires: %{crate} = %{version}-%{release}
|
||||||
|
|
||||||
%description -n %{crate}-dracut
|
%description -n %{crate}-dracut
|
||||||
This subpackage contains files and configuration to run coreos-installer
|
This subpackage contains files and configuration to run coreos-installer
|
||||||
from the initramfs.
|
from the initramfs in IoT/Edge and is supported by the community.
|
||||||
|
|
||||||
%files -n %{crate}-dracut
|
%files -n %{crate}-dracut
|
||||||
%{dracutlibdir}/modules.d/51coreos-installer
|
%{dracutlibdir}/modules.d/51coreos-installer
|
||||||
%endif
|
|
||||||
|
|
||||||
%files -n %{crate}
|
%files -n %{crate}
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
@ -188,6 +187,9 @@ from the initramfs.
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* 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
|
* Fri Feb 17 2023 Jonathan Lebon <jonathan@jlebon.com> - 0.16.1-5
|
||||||
- Backport patch that adds F39 signing key
|
- Backport patch that adds F39 signing key
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user