guix/gnu/installer
Mathieu Othacehe bf304dbcea
installer: partionment: Add encryption support.
* gnu/installer.scm (set-installer-path): Add cryptsetup.
* gnu/installer/newt/partition.scm (prompt-luks-passwords): New procedure,
(run-partioning-page): Add the possibility to set encryption to "On" on a
partition and choose a label, add a new partition scheme: "Guided - using the
entire disk with encryption", prompt for encryption passwords before
proceeding to formating.
* gnu/installer/parted.scm (<user-partition>)[crypt-label],
[crypt-password]: New fields,
(partition-description): add the encryption label,
(user-partition-description): add an encryption field,
(auto-partition): add two partitioning schemes: entire-crypted-root and
entire-crypted-root-home,
(call-with-luks-key-file): new procedure,
(user-partition-upper-path): new procedure,
(luks-format-and-open): new procedure,
(luks-close): new procedure,
(format-user-partitions): format and open luks partitions before creating
file-system.
(mount-user-partitions): use the path returned by user-partition-upper-path,
(umount-user-partitions): close the luks partitions,
(user-partition->file-system): set device field to label for luks partitions
and to uuid for the rest,
(user-partition->mapped-device): new procedure,
(user-partitions->configuration): add mapped-devices field.
2019-01-17 14:04:26 +01:00
..
aux-files
newt installer: partionment: Add encryption support. 2019-01-17 14:04:26 +01:00
connman.scm
final.scm installer: Add configuration formatter. 2019-01-17 14:04:22 +01:00
hostname.scm installer: Add hostname. 2019-01-17 14:04:23 +01:00
keymap.scm installer: keymap: Do not fail on non-kmscon terminals. 2019-01-17 14:04:25 +01:00
locale.scm installer: Add configuration formatter. 2019-01-17 14:04:22 +01:00
newt.scm installer: Display an eventual backtrace in a page. 2019-01-17 14:04:25 +01:00
parted.scm installer: partionment: Add encryption support. 2019-01-17 14:04:26 +01:00
record.scm installer: Add partitioning support. 2019-01-17 14:04:24 +01:00
services.scm installer: Add services page. 2019-01-17 14:04:23 +01:00
steps.scm installer: Add configuration formatter. 2019-01-17 14:04:22 +01:00
timezone.scm installer: Add configuration formatter. 2019-01-17 14:04:22 +01:00
user.scm installer: Add user module. 2019-01-17 14:04:24 +01:00
utils.scm installer: Add new utils. 2019-01-17 14:04:22 +01:00