|
From: | GNU bug Tracking System |
Subject: | bug#48880: closed ([PATCH] gnu: Respect ‘rootdelay’ kernel command-line argument.) |
Date: | Wed, 16 Jun 2021 10:48:02 +0000 |
Your message dated Wed, 16 Jun 2021 12:48:00 +0200 with message-id <87tulyjdb3.fsf@nckx> and subject line gnu: Respect ‘rootdelay’ kernel command-line argument. has caused the debbugs.gnu.org bug report #48880, regarding [PATCH] gnu: Respect ‘rootdelay’ kernel command-line argument. to be marked as done. (If you believe you have received this mail in error, please contact help-debbugs@gnu.org.) -- 48880: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=48880 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems
--- Begin Message ---Subject: [PATCH] gnu: Respect ‘rootdelay’ kernel command-line argument. Date: Sun, 6 Jun 2021 21:04:30 +0200 * gnu/build/linux-boot.scm (boot-system): Sleep for "rootdelay=SECONDS" when specified on the kernel command line. --- gnu/build/linux-boot.scm | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/gnu/build/linux-boot.scm b/gnu/build/linux-boot.scm index 37c0dcb265..e1014c7efe 100644 --- a/gnu/build/linux-boot.scm +++ b/gnu/build/linux-boot.scm @@ -594,6 +594,14 @@ upon error." (unless (configure-qemu-networking) (display "network interface is DOWN\n"))) + (let ((root-delay (and=> (find-long-option "rootdelay" args) + string->number))) + (when root-delay + (format #t + "Pausing for rootdelay=~a seconds before mounting the root file system...\n" + root-delay) + (sleep root-delay))) + ;; Prepare the real root file system under /root. (unless (file-exists? "/root") (mkdir "/root")) -- 2.32.0
--- End Message ---
--- Begin Message ---Subject: gnu: Respect ‘rootdelay’ kernel command-line argument. Date: Wed, 16 Jun 2021 12:48:00 +0200 Pushed as 9c28fdcae330e91667b4b3e1058025bef250e6dd.Too late to help <https://logs.guix.gnu.org/guix/2021-06-05.log#193653>, but oh well.signature.asc
Description: PGP signature
--- End Message ---
[Prev in Thread] | Current Thread | [Next in Thread] |