From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id D4B11138359 for ; Thu, 23 Jul 2020 23:57:41 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0A549E086A; Thu, 23 Jul 2020 23:57:40 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E3CC8E086A for ; Thu, 23 Jul 2020 23:57:39 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E28BF34F1F6 for ; Thu, 23 Jul 2020 23:57:38 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id ED0042F1 for ; Thu, 23 Jul 2020 23:57:34 +0000 (UTC) From: "Thomas Deutschmann" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Thomas Deutschmann" Message-ID: <1595545007.be199c08fada12dc7ccfbf75c8dddba99e185263.whissi@gentoo> Subject: [gentoo-commits] proj/genkernel:master commit in: defaults/ X-VCS-Repository: proj/genkernel X-VCS-Files: defaults/initrd.scripts X-VCS-Directories: defaults/ X-VCS-Committer: whissi X-VCS-Committer-Name: Thomas Deutschmann X-VCS-Revision: be199c08fada12dc7ccfbf75c8dddba99e185263 X-VCS-Branch: master Date: Thu, 23 Jul 2020 23:57:34 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 987b5984-357b-4c1a-9a0e-980e16d35131 X-Archives-Hash: a74cd8e0802c92577ebd6b30a7e83143 commit: be199c08fada12dc7ccfbf75c8dddba99e185263 Author: Thomas Deutschmann gentoo org> AuthorDate: Thu Jul 23 22:15:59 2020 +0000 Commit: Thomas Deutschmann gentoo org> CommitDate: Thu Jul 23 22:56:47 2020 +0000 URL: https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=be199c08 defaults/initrd.scripts: Improve logging in *_resume functions Add device which was tried to resume from to log message. Signed-off-by: Thomas Deutschmann gentoo.org> defaults/initrd.scripts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/defaults/initrd.scripts b/defaults/initrd.scripts index 1bf778d..d5a3612 100644 --- a/defaults/initrd.scripts +++ b/defaults/initrd.scripts @@ -2608,7 +2608,7 @@ swsusp_resume() { log_msg "Trying to resume using swsusp ..." log_msg "COMMAND: 'echo \"${device}\" > /sys/power/resume'" echo "${device}" > /sys/power/resume - log_msg "System is not resuming, probably because it wasn't suspended; Continue normal booting ..." + log_msg "System is not resuming from ${REAL_RESUME}, probably because it wasn't suspended; Continue normal booting ..." fi } @@ -2675,7 +2675,7 @@ tuxonice_resume() { echo "${REAL_RESUME}" > "${tuxonice_resumedev}" log_msg "COMMAND: 'echo > ${tuxonice_do_resume}'" echo > "${tuxonice_do_resume}" - log_msg "System is not resuming, probably because it wasn't suspended; Continue normal booting ..." + log_msg "System is not resuming from ${REAL_RESUME}, probably because it wasn't suspended; Continue normal booting ..." } find_loop() {