guix/gnu/installer/newt
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
..
ethernet.scm installer: Turn "Cancel" buttons into "Exit" buttons. 2019-01-17 14:04:25 +01:00
final.scm installer: Turn "Cancel" buttons into "Exit" buttons. 2019-01-17 14:04:25 +01:00
hostname.scm installer: Make sure every sentence is dot terminated. 2019-01-17 14:04:25 +01:00
keymap.scm installer: keymap: Fix keymap selection of layouts with not variant. 2019-01-17 14:04:25 +01:00
locale.scm installer: Turn "Cancel" buttons into "Exit" buttons. 2019-01-17 14:04:25 +01:00
menu.scm installer: menu: Fix typo. 2019-01-17 14:04:26 +01:00
network.scm installer: Make sure every sentence is dot terminated. 2019-01-17 14:04:25 +01:00
page.scm installer: Make exit button optional for run-file-textbox-page. 2019-01-17 14:04:25 +01:00
partition.scm installer: partionment: Add encryption support. 2019-01-17 14:04:26 +01:00
services.scm installer: Turn "Cancel" buttons into "Exit" buttons. 2019-01-17 14:04:25 +01:00
timezone.scm installer: Turn "Cancel" buttons into "Exit" buttons. 2019-01-17 14:04:25 +01:00
user.scm installer: Make sure every sentence is dot terminated. 2019-01-17 14:04:25 +01:00
utils.scm
welcome.scm installer: Redirect to TTY3 root shell for unguided install. 2019-01-17 14:04:23 +01:00
wifi.scm installer: Make sure every sentence is dot terminated. 2019-01-17 14:04:25 +01:00