Fix dracut modules files

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
Igor Gnatenko 2019-06-22 11:18:05 +02:00
parent bfaeae37f4
commit 42ba6ffd6b
No known key found for this signature in database
GPG Key ID: 695714BD1BBC5F4C

View File

@ -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