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.
|
||||
|
||||
%files dracut
|
||||
%{dracutmodulesdir}/30afterburn
|
||||
%{dracutmodulesdir}/30afterburn/
|
||||
|
||||
%prep
|
||||
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
||||
@ -96,8 +96,8 @@ sed -e 's,@DEFAULT_INSTANCE@,core,' < \
|
||||
%cargo_install
|
||||
install -Dpm0644 -t %{buildroot}%{_unitdir} \
|
||||
systemd/*.service
|
||||
install -Dpm0644 -t %{buildroot}%{dracutmodulesdir} \
|
||||
dracut/*
|
||||
mkdir -p %{buildroot}%{dracutmodulesdir}
|
||||
cp -a dracut/* %{buildroot}%{dracutmodulesdir}
|
||||
|
||||
%if %{with check}
|
||||
%check
|
||||
|
Loading…
Reference in New Issue
Block a user