~ruther/guix-local

e5e307b6768088e35be0c7526f25a3e16d93c242 — Tobias Geerinckx-Rice 4 years ago f3af1fb
Revert "installer: Make LUKS2 the default format for encrypted devices"

This reverts commit a82e9f45fd9f7c67123b7064c60065281035c744 at the
author's request.  We are not quite ready to boot all resulting
systems.

See <https://logs.guix.gnu.org/guix/2021-12-08.log#231815>.
1 files changed, 2 insertions(+), 3 deletions(-)

M gnu/installer/parted.scm
M gnu/installer/parted.scm => gnu/installer/parted.scm +2 -3
@@ 1169,9 1169,8 @@ USER-PARTITION if it is encrypted, or the plain file-name otherwise."
     (lambda (key-file)
       (syslog "formatting and opening LUKS entry ~s at ~s~%"
               label file-name)
       (system* "cryptsetup" "-q" "luksFormat" "--type" "luks2"
                "--pbkdf" "pbkdf2" file-name key-file)
       (system* "cryptsetup" "open"
       (system* "cryptsetup" "-q" "luksFormat" file-name key-file)
       (system* "cryptsetup" "open" "--type" "luks"
                "--key-file" key-file file-name label)))))

(define (luks-close user-partition)