[readonly/geninitrd: 483/1068] - do not assume user has booted from suspend enabled kernel when generating initrd for suspend
draenog
draenog at pld-linux.org
Sat Nov 2 19:52:59 CET 2013
commit 0a01e28584889444cdcf7626685a64687d297b8f
Author: Elan Ruusamäe <glen at pld-linux.org>
Date: Sun Oct 28 22:07:47 2007 +0000
- do not assume user has booted from suspend enabled kernel when generating initrd for suspend
svn-id: @8896
geninitrd | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/geninitrd b/geninitrd
index 9f5a853..b8e6f75 100755
--- a/geninitrd
+++ b/geninitrd
@@ -1271,7 +1271,7 @@ initrd_gen_suspend() {
fi
inst_d /etc /dev
resume_dev="$(awk '/^resume device =/ { print $4 } ' /etc/suspend.conf)"
- inst /dev/snapshot /dev
+ mknod $MNTIMAGE/dev/snapshot c 10 231
inst $resume_dev /dev
inst /etc/suspend.conf /etc/suspend.conf
if [ -x /usr/${_lib}/suspend/resume ]; then
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/readonly/geninitrd.git/commitdiff/147754ca159d40ca5eb541074dc043d8cbd92090
More information about the pld-cvs-commit
mailing list