dracut/0017-resume-debian-s-resume-is-in-usr-lib-uswsusp.patch
Harald Hoyer fe48c9c4e5 dracut-032-23.git20130904
- fixed curl error with zero size kickstart file
Resolves: rhbz#989133
- fixed systemd-cat failure, when systemd is installed
  but not actually running
Resolves: rhbz#1002021
- do not fail on empty dracut module directories
Resolves: rhbz#1003153
2013-09-04 13:43:12 +02:00

24 lines
859 B
Diff

From cb73315dd618b828d8d4e395772a05e4835842ab Mon Sep 17 00:00:00 2001
From: Harald Hoyer <harald@redhat.com>
Date: Wed, 28 Aug 2013 10:57:23 +0200
Subject: [PATCH] resume: debian's resume is in /usr/lib/uswsusp
Hurray! Everybody reinvents the wheel!
---
modules.d/95resume/module-setup.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules.d/95resume/module-setup.sh b/modules.d/95resume/module-setup.sh
index 7f81049..518ebf0 100755
--- a/modules.d/95resume/module-setup.sh
+++ b/modules.d/95resume/module-setup.sh
@@ -17,7 +17,7 @@ check() {
install() {
local _bin
# Optional uswsusp support
- for _bin in /usr/sbin/resume /usr/lib/suspend/resume
+ for _bin in /usr/sbin/resume /usr/lib/suspend/resume /usr/lib/uswsusp/resume
do
[[ -x "${_bin}" ]] && {
inst "${_bin}" /usr/sbin/resume