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