Fix dracut modules files
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
parent
bfaeae37f4
commit
42ba6ffd6b
@ -74,7 +74,7 @@ Dracut module that enables afterburn and corresponding services
|
|||||||
to run in the initramfs on boot.
|
to run in the initramfs on boot.
|
||||||
|
|
||||||
%files dracut
|
%files dracut
|
||||||
%{dracutmodulesdir}/30afterburn
|
%{dracutmodulesdir}/30afterburn/
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
||||||
@ -96,8 +96,8 @@ sed -e 's,@DEFAULT_INSTANCE@,core,' < \
|
|||||||
%cargo_install
|
%cargo_install
|
||||||
install -Dpm0644 -t %{buildroot}%{_unitdir} \
|
install -Dpm0644 -t %{buildroot}%{_unitdir} \
|
||||||
systemd/*.service
|
systemd/*.service
|
||||||
install -Dpm0644 -t %{buildroot}%{dracutmodulesdir} \
|
mkdir -p %{buildroot}%{dracutmodulesdir}
|
||||||
dracut/*
|
cp -a dracut/* %{buildroot}%{dracutmodulesdir}
|
||||||
|
|
||||||
%if %{with check}
|
%if %{with check}
|
||||||
%check
|
%check
|
||||||
|
Loading…
Reference in New Issue
Block a user