diff options
author | Danny Milosavljevic <dannym@scratchpost.org> | 2019-05-31 13:27:35 +0200 |
---|---|---|
committer | Danny Milosavljevic <dannym@scratchpost.org> | 2019-06-03 18:08:56 +0200 |
commit | aa901521e4e5625dd8a63e67a64be2f562ca61c7 (patch) | |
tree | 686fd51f8cf7a7c4308a1041c0c1d7fa6916a349 /gnu/build | |
parent | 3092f1b835d79655eecb2f8a79dda20ad9ba6bd6 (diff) | |
download | guix-aa901521e4e5625dd8a63e67a64be2f562ca61c7.tar guix-aa901521e4e5625dd8a63e67a64be2f562ca61c7.tar.gz |
linux-boot: Fix e2fsck warning.
* gnu/build/linux-boot.scm (boot-system): Fix e2fsck warning.
Diffstat (limited to 'gnu/build')
-rw-r--r-- | gnu/build/linux-boot.scm | 4 |
1 files changed, 4 insertions, 0 deletions
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") |