dracut.spec: Fix error introduced by 70291ed

70291e0 ('dracut.spec: Add dracut-squash package') introduced a new
dracut-squash package, but by accident it overrided some other package
spec and the dependency name is wrong. This patch will fix it.
master
Kairui Song 2018-09-29 17:14:31 +08:00 committed by Harald Hoyer
parent 6d886bb74d
commit f51ab4a81f
1 changed files with 4 additions and 4 deletions

View File

@ -181,7 +181,7 @@ This package contains tools to assemble the local initrd and host configuration.
%package squash %package squash
Summary: dracut module to build an initramfs with most files in a squashfs image Summary: dracut module to build an initramfs with most files in a squashfs image
Requires: %{name} = %{version}-%{release} Requires: %{name} = %{version}-%{release}
Requires: squash-tools Requires: squashfs-tools


%description squash %description squash
This package provides a dracut module to build an initramfs, but store most files This package provides a dracut module to build an initramfs, but store most files
@ -452,14 +452,14 @@ install -m 0755 51-dracut-rescue-postinst.sh $RPM_BUILD_ROOT%{_sysconfdir}/kerne
%doc %{_mandir}/man8/dracut-catimages.8* %doc %{_mandir}/man8/dracut-catimages.8*
%endif %endif


%files squash
%{dracutlibdir}/modules.d/99squash

%{_bindir}/dracut-catimages %{_bindir}/dracut-catimages
%dir /boot/dracut %dir /boot/dracut
%dir /var/lib/dracut %dir /var/lib/dracut
%dir /var/lib/dracut/overlay %dir /var/lib/dracut/overlay


%files squash
%{dracutlibdir}/modules.d/99squash

%files config-generic %files config-generic
%{dracutlibdir}/dracut.conf.d/02-generic-image.conf %{dracutlibdir}/dracut.conf.d/02-generic-image.conf