summaryrefslogtreecommitdiff
path: root/gnu/installer
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <me@tobias.gr>2021-12-08 23:22:09 +0100
committerTobias Geerinckx-Rice <me@tobias.gr>2021-12-08 23:23:19 +0100
commite5e307b6768088e35be0c7526f25a3e16d93c242 (patch)
treef6aeb9b93afc4b59ac55227f641d9b990000ac75 /gnu/installer
parentf3af1fb0bcbcbe18ab773374efe606e90107cfb6 (diff)
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>.
Diffstat (limited to 'gnu/installer')
-rw-r--r--gnu/installer/parted.scm5
1 files changed, 2 insertions, 3 deletions
diff --git a/gnu/installer/parted.scm b/gnu/installer/parted.scm
index 616b99c3cba..ad7dd6bf91b 100644
--- a/gnu/installer/parted.scm
+++ b/gnu/installer/parted.scm
@@ -1169,9 +1169,8 @@ USER-PARTITION if it is encrypted, or the plain file-name otherwise."
1169 (lambda (key-file) 1169 (lambda (key-file)
1170 (syslog "formatting and opening LUKS entry ~s at ~s~%" 1170 (syslog "formatting and opening LUKS entry ~s at ~s~%"
1171 label file-name) 1171 label file-name)
1172 (system* "cryptsetup" "-q" "luksFormat" "--type" "luks2" 1172 (system* "cryptsetup" "-q" "luksFormat" file-name key-file)
1173 "--pbkdf" "pbkdf2" file-name key-file) 1173 (system* "cryptsetup" "open" "--type" "luks"
1174 (system* "cryptsetup" "open"
1175 "--key-file" key-file file-name label))))) 1174 "--key-file" key-file file-name label)))))
1176 1175
1177(define (luks-close user-partition) 1176(define (luks-close user-partition)