e83cdd
From 44c9d019d88df05f69f2112aeae34bdbff61cee6 Mon Sep 17 00:00:00 2001
e83cdd
From: Kairui Song <kasong@redhat.com>
e83cdd
Date: Sat, 29 Sep 2018 17:14:31 +0800
e83cdd
Subject: [PATCH] dracut.spec: Fix error introduced by 70291ed
e83cdd
e83cdd
70291e0 ('dracut.spec: Add dracut-squash package') introduced a new
e83cdd
dracut-squash package, but by accident it overrided some other package
e83cdd
spec and the dependency name is wrong. This patch will fix it.
e83cdd
---
e83cdd
 dracut.spec | 8 ++++----
e83cdd
 1 file changed, 4 insertions(+), 4 deletions(-)
e83cdd
e83cdd
diff --git a/dracut.spec b/dracut.spec
e83cdd
index 553280c3..de57703c 100644
e83cdd
--- a/dracut.spec
e83cdd
+++ b/dracut.spec
e83cdd
@@ -188,7 +188,7 @@ This package contains tools to assemble the local initrd and host configuration.
e83cdd
 %package squash
e83cdd
 Summary: dracut module to build an initramfs with most files in a squashfs image
e83cdd
 Requires: %{name} = %{version}-%{release}
e83cdd
-Requires: squash-tools
e83cdd
+Requires: squashfs-tools
e83cdd
 
e83cdd
 %description squash
e83cdd
 This package provides a dracut module to build an initramfs, but store most files
e83cdd
@@ -459,14 +459,14 @@ install -m 0755 51-dracut-rescue-postinst.sh $RPM_BUILD_ROOT%{_sysconfdir}/kerne
e83cdd
 %doc %{_mandir}/man8/dracut-catimages.8*
e83cdd
 %endif
e83cdd
 
e83cdd
-%files squash
e83cdd
-%{dracutlibdir}/modules.d/99squash
e83cdd
-
e83cdd
 %{_bindir}/dracut-catimages
e83cdd
 %dir /boot/dracut
e83cdd
 %dir /var/lib/dracut
e83cdd
 %dir /var/lib/dracut/overlay
e83cdd
 
e83cdd
+%files squash
e83cdd
+%{dracutlibdir}/modules.d/99squash
e83cdd
+
e83cdd
 %files config-generic
e83cdd
 %{dracutlibdir}/dracut.conf.d/02-generic-image.conf
e83cdd
 
e83cdd