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