gnu: singularity: Do not use the "errors=remount-ro" squashfs option.
authorLudovic Courtès <ludovic.courtes@inria.fr>
Thu, 12 Mar 2020 15:38:44 +0000 (16:38 +0100)
committerLudovic Courtès <ludo@gnu.org>
Thu, 12 Mar 2020 17:32:16 +0000 (18:32 +0100)
This mount option stopped being supported with Linux-libre 5.4.5:

  http://ci.guix.gnu.org/build/2056359/details

* gnu/packages/linux.scm (singularity)[source]: Remove
"errors=remount-ro" mount option from source code.

gnu/packages/linux.scm

index e864e17..0198622 100644 (file)
@@ -3482,6 +3482,12 @@ thanks to the use of namespaces.")
                       _ program)
                      (string-append "/run/setuid-programs/singularity-"
                                     program "-helper")))
+
+                  ;; These squashfs mount options are apparently no longer
+                  ;; supported since Linux-libre 5.4.5.
+                  (substitute* "src/lib/image/squashfs/mount.c"
+                    (("\"errors=remount-ro\"")
+                     "NULL"))
                   #t))))
     (build-system gnu-build-system)
     (arguments