From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id GNR0OgXoG2KEQgAAgWs5BA (envelope-from ) for ; Sun, 27 Feb 2022 22:07:17 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id yAXwNwXoG2LYBgEA9RJhRA (envelope-from ) for ; Sun, 27 Feb 2022 22:07:17 +0100 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 C021B156D3 for ; Sun, 27 Feb 2022 22:07:17 +0100 (CET) Received: from localhost ([::1]:53924 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nOQlA-0003ve-5X for larch@yhetil.org; Sun, 27 Feb 2022 16:07:16 -0500 Received: from eggs.gnu.org ([209.51.188.92]:36054) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nOQkw-0003t5-Jw for bug-guix@gnu.org; Sun, 27 Feb 2022 16:07:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:37162) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nOQkw-0003ey-Br for bug-guix@gnu.org; Sun, 27 Feb 2022 16:07:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nOQkw-0007au-6m for bug-guix@gnu.org; Sun, 27 Feb 2022 16:07:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#40998: Guix System's initrd doesn't honor rootflags Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sun, 27 Feb 2022 21:07:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 40998 X-GNU-PR-Package: guix X-GNU-PR-Keywords: patch To: Maxim Cournoyer Received: via spool by 40998-submit@debbugs.gnu.org id=B40998.164599600329160 (code B ref 40998); Sun, 27 Feb 2022 21:07:02 +0000 Received: (at 40998) by debbugs.gnu.org; 27 Feb 2022 21:06:43 +0000 Received: from localhost ([127.0.0.1]:59292 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nOQkc-0007aF-OV for submit@debbugs.gnu.org; Sun, 27 Feb 2022 16:06:42 -0500 Received: from hera.aquilenet.fr ([185.233.100.1]:55216) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nOQkb-0007a0-4j for 40998@debbugs.gnu.org; Sun, 27 Feb 2022 16:06:41 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 9FEC5399; Sun, 27 Feb 2022 22:06:35 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id YOX1Q0KoyFnB; Sun, 27 Feb 2022 22:06:35 +0100 (CET) Received: from ribbon (91-160-117-201.subs.proxad.net [91.160.117.201]) by hera.aquilenet.fr (Postfix) with ESMTPSA id F06D4147; Sun, 27 Feb 2022 22:06:34 +0100 (CET) From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <20220219070155.1924-1-maxim.cournoyer@gmail.com> <20220219070155.1924-3-maxim.cournoyer@gmail.com> Date: Sun, 27 Feb 2022 22:06:34 +0100 In-Reply-To: <20220219070155.1924-3-maxim.cournoyer@gmail.com> (Maxim Cournoyer's message of "Sat, 19 Feb 2022 02:01:54 -0500") Message-ID: <875yp0uihx.fsf_-_@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spamd-Bar: / X-Rspamd-Server: hera X-Rspamd-Queue-Id: 9FEC5399 X-Spamd-Result: default: False [-0.10 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; FREEMAIL_ENVRCPT(0.00)[gmail.com]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.10)[text/plain]; RCPT_COUNT_TWO(0.00)[2]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MID_RHS_MATCH_FROM(0.00)[] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 40998@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1645996037; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=1rxazH7fOUgx435Q+ZFfXHBIKaPY/GLVvAz2jyLqxKs=; b=GxAAhQDIOXHv5B3iPHkvfnDQ+bqMgg1J+hACfzvi90NLylngJZRvynMt+ATTuBaUiroJrh ydNQz/cNHWrgstSswqBFX+CewJnN9QU9nkSUSAdXCluL0peg7ttI0I1oDVN5T6pJSVJurh xYCl1hdIyJGk44adhI+afisPJEIjZPh37rmnZGZxPFaXy94+sze75OHPt6vl9lFgbiLo4R 2qA5g21waNiLrQ7Zfx2dEqu/7YFLjqOi0kpe4jAYdirk1LUU7CDMuDUIOn9QR8MAslTD6s xuvhMtpW/uDnIoYfYXXsMxvMigMNw7MbxuPbN62oCHF/MlJLq9cZgR1k2fmWvw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1645996037; a=rsa-sha256; cv=none; b=gfTVsyA+TyhArXa5JLIcYd4V/4D2lgFgwZ1CwgAEe8XsOC/Y4F8odejhoL6ECVT67NI1Hf rSTtT9Jt6BICrAf6upeKuR6uOnKFn/1WkNQW6MuJBeGz/np+OnxU2DF6akyQ20BwYv3LjD RSeweAtKPhQGMRKQm66MV9TaAybpqwnQKG2CpaTFmkY0effO/zdDkEmUFlJi3OtCP5+uFU PnC8E0KYZjZMcSaRMMGDcb0+xeJa59mjtqo/0hpVYiwaC/ZFKSenAkFkkth128/44q47YA yx2ij4TlpLqTL0I2gEZeVkUIpzOzkfOo/wGzylL0IO5hqWCOZDAd++zuBIbAZQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -5.10 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: C021B156D3 X-Spam-Score: -5.10 X-Migadu-Scanner: scn0.migadu.com X-TUID: b1mbjiM9VRlk Maxim Cournoyer skribis: > * gnu/build/linux-boot.scm (boot-system): Honor rootfstype and rootflags > arguments. Update doc. Error out in case there is insufficient informat= ion > with regard to the root file system. > Restore the behavior of inferring the root device from the root file syst= em > from the operating system in case the root argument is not provided. > * doc/guix.texi (Initial RAM Disk): Document the new command-line paramet= ers. Very nice! [...] > - (if root-device > - (mount-root-file-system (canonicalize-device-spec root-devic= e) > - (file-system-type root-fs) > - #:volatile-root? volatile-root? > - #:flags (mount-flags->bit-mask > - (file-system-flags root-fs)) > - #:options (file-system-options root-= fs) > - #:check? (check? root-fs) > - #:skip-check-if-clean? > - (skip-check-if-clean? root-fs) > - #:repair (repair root-fs)) > - (mount "none" "/root" "tmpfs")) > + ;; Mount the root file system. > + (mount-root-file-system (canonicalize-device-spec I think the =E2=80=98if=E2=80=99 had (has?) a justification but I=E2=80=99m= not sure what that was. It=E2=80=99s likely nobody will notice if we remove it anyway. :-) Ludo=E2=80=99.