Subject: bug#36023: closed (Re: [bug#36023] [PATCH] linux-boot: Fix e2fsck warning.)

From: [email-masked] (GNU bug Tracking System)
Date: Mon, 03 Jun 2019 16:10:03 +0000

Your bug report

#36023: [PATCH] linux-boot: Fix e2fsck warning.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
36023: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=36023
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [bug#36023] [PATCH] linux-boot: Fix e2fsck warning.
From: Danny Milosavljevic <[email-masked]>
To: Ludovic Courtès <[email-masked]>
Cc: [email-masked]
Date: Mon, 3 Jun 2019 18:09:50 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Thanks for the review!

Pushed it to guix master as commit aa901521e4e5625dd8a63e67a64be2f562ca61c7.

Subject: [PATCH] linux-boot: Fix e2fsck warning.
From: Danny Milosavljevic <[email-masked]>
To: [email-masked]
Cc: Danny Milosavljevic <[email-masked]>
Date: Fri, 31 May 2019 13:27:35 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

* 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")