From patchwork Fri May 31 11:27:35 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Danny Milosavljevic X-Patchwork-Id: 14169 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 0F1B417041; Fri, 31 May 2019 12:28:11 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id B241A1701E for ; Fri, 31 May 2019 12:28:10 +0100 (BST) Received: from localhost ([127.0.0.1]:41382 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hWfhg-0007Ca-Uw for patchwork@mira.cbaines.net; Fri, 31 May 2019 07:28:08 -0400 Received: from eggs.gnu.org ([209.51.188.92]:38023) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hWfhd-0007Bn-Iw for guix-patches@gnu.org; Fri, 31 May 2019 07:28:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hWfhb-0003fb-Sy for guix-patches@gnu.org; Fri, 31 May 2019 07:28:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:49616) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hWfha-0003e3-Nz for guix-patches@gnu.org; Fri, 31 May 2019 07:28:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hWfha-00053J-IM for guix-patches@gnu.org; Fri, 31 May 2019 07:28:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#36023] [PATCH] linux-boot: Fix e2fsck warning. Resent-From: Danny Milosavljevic Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 31 May 2019 11:28:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 36023 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 36023@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.155930208119409 (code B ref -1); Fri, 31 May 2019 11:28:02 +0000 Received: (at submit) by debbugs.gnu.org; 31 May 2019 11:28:01 +0000 Received: from localhost ([127.0.0.1]:34927 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hWfhY-00052z-SK for submit@debbugs.gnu.org; Fri, 31 May 2019 07:28:01 -0400 Received: from eggs.gnu.org ([209.51.188.92]:51813) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hWfhW-00052c-IG for submit@debbugs.gnu.org; Fri, 31 May 2019 07:27:58 -0400 Received: from lists.gnu.org ([209.51.188.17]:50413) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hWfhR-0003Qe-Bw for submit@debbugs.gnu.org; Fri, 31 May 2019 07:27:53 -0400 Received: from eggs.gnu.org ([209.51.188.92]:37942) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hWfhQ-00077h-0J for guix-patches@gnu.org; Fri, 31 May 2019 07:27:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hWfhO-0003N5-QC for guix-patches@gnu.org; Fri, 31 May 2019 07:27:51 -0400 Received: from dd26836.kasserver.com ([85.13.145.193]:59146) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hWfhI-0003Ci-UB for guix-patches@gnu.org; Fri, 31 May 2019 07:27:45 -0400 Received: from localhost.localdomain (178.113.171.190.wireless.dyn.drei.com [178.113.171.190]) by dd26836.kasserver.com (Postfix) with ESMTPSA id 02723336010C; Fri, 31 May 2019 13:27:36 +0200 (CEST) From: Danny Milosavljevic Date: Fri, 31 May 2019 13:27:35 +0200 Message-Id: <20190531112735.15985-1-dannym@scratchpost.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Tags: patch X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/build/linux-boot.scm (boot-system): Fix e2fsck warning. --- gnu/build/linux-boot.scm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gnu/build/linux-boot.scm b/gnu/build/linux-boot.scm index a35d18ad7c..03f2ea245c 100644 --- a/gnu/build/linux-boot.scm +++ b/gnu/build/linux-boot.scm @@ -517,6 +517,8 @@ upon error." (unless (pre-mount) (error "pre-mount actions failed"))) + (setenv "EXT2FS_NO_MTAB_OK" "1") + (if root ;; The "--root=SPEC" kernel command-line option always provides a ;; string, but the string can represent a device, a UUID, or a @@ -533,6 +535,8 @@ upon error." (for-each mount-file-system (remove root-mount-point? mounts)) + (setenv "EXT2FS_NO_MTAB_OK" #f) + (if to-load (begin (switch-root "/root")