From ca9627e70852f6b2e835660df870fe3ab405882d Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Sun, 1 Sep 2019 00:00:32 +0200 Subject: Initial import --- sys-apps/mkinitrd/files/mkinitrd-swsusp2.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 sys-apps/mkinitrd/files/mkinitrd-swsusp2.patch (limited to 'sys-apps/mkinitrd/files/mkinitrd-swsusp2.patch') diff --git a/sys-apps/mkinitrd/files/mkinitrd-swsusp2.patch b/sys-apps/mkinitrd/files/mkinitrd-swsusp2.patch new file mode 100644 index 0000000..b28be2b --- /dev/null +++ b/sys-apps/mkinitrd/files/mkinitrd-swsusp2.patch @@ -0,0 +1,13 @@ +diff -dPNur mkinitrd-4.2.17/mkinitrd mkinitrd-4.2.17-new/mkinitrd +--- mkinitrd-4.2.17/mkinitrd 2006-05-20 05:49:28.000000000 +0500 ++++ mkinitrd-4.2.17-new/mkinitrd 2006-05-20 05:52:39.000000000 +0500 +@@ -975,6 +975,9 @@ + + echo "echo Mounting /proc filesystem" >> $RCFILE + echo "mount -t proc /proc /proc" >> $RCFILE ++echo "mount -n -o remount,ro /" >>$RCFILE ++echo "echo > /proc/suspend2/do_resume" >>$RCFILE ++echo "mount -n -o remount,rw /" >>$RCFILE + if [ -n "$kernel25" ];then + echo "echo Mounting sysfs" >> $RCFILE + echo "mount -t sysfs none /sys" >> $RCFILE -- cgit v1.2.3