Revert "installer: Make LUKS2 the default format for encrypted devices"

This reverts commit a82e9f45fd 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>.
This commit is contained in:
Tobias Geerinckx-Rice 2021-12-08 23:22:09 +01:00
parent f3af1fb0bc
commit e5e307b676
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -1169,9 +1169,8 @@ (define (luks-format-and-open user-partition)
(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)