From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id gKejFmocvWBk6gAAgWs5BA (envelope-from ) for ; Sun, 06 Jun 2021 21:05:14 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id QBzTEWocvWD9UgAAB5/wlQ (envelope-from ) for ; Sun, 06 Jun 2021 19:05:14 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 079DA15D8D for ; Sun, 6 Jun 2021 21:05:14 +0200 (CEST) Received: from localhost ([::1]:49380 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lpy5B-00011A-0r for larch@yhetil.org; Sun, 06 Jun 2021 15:05:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33280) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lpy51-000101-EW for guix-patches@gnu.org; Sun, 06 Jun 2021 15:05:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:42380) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lpy50-0007vY-T1 for guix-patches@gnu.org; Sun, 06 Jun 2021 15:05:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lpy50-0003Cl-NX for guix-patches@gnu.org; Sun, 06 Jun 2021 15:05:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48880] [PATCH] gnu: Respect =?UTF-8?Q?=E2=80=98rootdelay=E2=80=99?= kernel command-line argument. Resent-From: Tobias Geerinckx-Rice Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 06 Jun 2021 19:05:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 48880 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 48880@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.162300627012276 (code B ref -1); Sun, 06 Jun 2021 19:05:02 +0000 Received: (at submit) by debbugs.gnu.org; 6 Jun 2021 19:04:30 +0000 Received: from localhost ([127.0.0.1]:53926 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lpy4U-0003Bw-65 for submit@debbugs.gnu.org; Sun, 06 Jun 2021 15:04:30 -0400 Received: from lists.gnu.org ([209.51.188.17]:36086) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lpy4R-0003Bn-D4 for submit@debbugs.gnu.org; Sun, 06 Jun 2021 15:04:28 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33234) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lpy4R-0000Rz-6p for guix-patches@gnu.org; Sun, 06 Jun 2021 15:04:27 -0400 Received: from tobias.gr ([2a02:c205:2020:6054::1]:48774) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lpy4P-0007Ps-1F for guix-patches@gnu.org; Sun, 06 Jun 2021 15:04:27 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tobias.gr; s=2018; bh=kSdZvlj1XGATLjrycx/sjIEVRtTe0t2+TBFLmhGJv0A=; h=date:subject:to: from; b=mhp1EdxryCwOBPvbE8l9YPyMGwUefVvPcbp3iTkEx+XNwvRg16ZC4dyqRnnzXg JFh13ipP+PRXkHMas26EaFKm+HFP6TdP3IqejJpI16iQpwZhyYudaZtJmH4SictV8jE79C BF5rE9fvTy/3dQ/S7JV9WxinXfUm+cxDj3yNHBuAX4dh8caJQ6NKo7vPMYi/OGV4F5Qdy6 f6nrYdSSgFigU5odB02zFbzcc5VOUA/IOfx6EgoSlRQjxBpUzSS8CunQcFbbPx/iGwNOGP CPc61qIpRTO2drA9ZkZYmiBMds5hA+fwhX7ibO7UNuqnDCs3FL6Cqqd2t40QY3NP3TOoYQ == Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id d8452114 (TLSv1.2:ECDHE-ECDSA-AES256-GCM-SHA384:256:NO) for ; Sun, 6 Jun 2021 19:04:19 +0000 (UTC) Date: Sun, 6 Jun 2021 21:04:30 +0200 Message-Id: <20210606190430.28191-1-me@tobias.gr> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a02:c205:2020:6054::1; envelope-from=me@tobias.gr; helo=tobias.gr X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" Reply-to: Tobias Geerinckx-Rice X-ACL-Warn: , Tobias Geerinckx-Rice via Guix-patches From: Tobias Geerinckx-Rice via Guix-patches via X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1623006314; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=kSdZvlj1XGATLjrycx/sjIEVRtTe0t2+TBFLmhGJv0A=; b=QtcBTlh4EKaOPzKGEYRP+20VrrU1LE4y5/4dJqPdfbC9AnK5dqtXNslesjLMDUq3xA1emj f4powq/OMPqj+z5fZykoHIfSvHq3wt8T6vzX7Jomk1D2NxCLUTZtKdwS5eDM+5zTbqaBIy petNJCK47EFlDkyGhkyamtQieDGx2P8u+YBVg/4EJzYHK1ya6VfJUVzLlFYCdnOG1lUbK+ mG3+hQxe/RkvGE+SEjm2DpTSzRkPElc+gD0am1JQ1EFzWYeIHjAj1DCu2kyA0seQ7O+c+P iIFFp1XAWvpIk1Phwcx15GM3ZcrEAP2mXra4vnMJl6vOe1fxY+QZ/CVpNfyuxw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1623006314; a=rsa-sha256; cv=none; b=mvm93YRdJ05+4HqMDeeTpY0pOQDwil4duNtMb312UGHw+fIDF9SEdSVoZ1rg8DSiW8ysmp khE7eC3lOCLcwWiI2ff9SH1Hr0GAy3i7jzl5PcwjmjyYcUg0HqF07bEGRq0uW4HeME+6pa qIZhvz+GCvj/xWNuoMeM9dx1N3aA/w4VNVLMrV/uEMfAHW405WvmXJYAJq/oCbh7vVr7lh lD/f+ufKHbZgOHojgQhvhrMYGAIbBvzF8E74KN8GZnWyHuTL+UftI5nKx7+4zWm2r5CFM8 qfDuzz8v9MZ75g/wPqT1BH7yi5fbjmdAE03jdg1DBnk9sEljGkpaQXnM5wdydw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tobias.gr header.s=2018 header.b=mhp1Edxr; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -2.93 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tobias.gr header.s=2018 header.b=mhp1Edxr; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 079DA15D8D X-Spam-Score: -2.93 X-Migadu-Scanner: scn0.migadu.com X-TUID: p7Qw4lcrUSMh * 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