[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/26: installer: Do not add file systems which are invalid.
From: |
John Darrington |
Subject: |
04/26: installer: Do not add file systems which are invalid. |
Date: |
Sun, 22 Jan 2017 12:09:24 +0000 (UTC) |
jmd pushed a commit to branch wip-installer
in repository guix.
commit d358ca40be0cd12a4abcc70d27738a092cc7f5e6
Author: John Darrington <address@hidden>
Date: Mon Jan 16 21:51:37 2017 +0100
installer: Do not add file systems which are invalid.
* gnu/system/installer/mount-point.scm (mount-point-page-key-handler): Do
not add invalid filesystems to the list of mount points.
---
gnu/system/installer/mount-point.scm | 14 ++++++++------
1 file changed, 8 insertions(+), 6 deletions(-)
diff --git a/gnu/system/installer/mount-point.scm
b/gnu/system/installer/mount-point.scm
index 3abf675..daebc71 100644
--- a/gnu/system/installer/mount-point.scm
+++ b/gnu/system/installer/mount-point.scm
@@ -54,12 +54,14 @@
(cond
((buttons-key-matches-symbol? nav ch 'continue)
- (set! mount-points
- (assoc-set! mount-points dev
- (make-file-system-spec
- (form-get-value form 'mount-point)
- (form-get-value form 'label)
- (form-get-value form 'fs-type))))
+ (let ((fss
+ (make-file-system-spec
+ (form-get-value form 'mount-point)
+ (form-get-value form 'label)
+ (form-get-value form 'fs-type))))
+ (when fss
+ (set! mount-points
+ (assoc-set! mount-points dev fss))))
(page-leave))
((buttons-key-matches-symbol? nav ch 'cancel)
- branch wip-installer updated (613ab98 -> 61c0ffb), John Darrington, 2017/01/22
- 02/26: installer: Properly handle swap partitions when generating the configuration., John Darrington, 2017/01/22
- 07/26: gurses: Change highlighting from bold to inverse., John Darrington, 2017/01/22
- 04/26: installer: Do not add file systems which are invalid.,
John Darrington <=
- 10/26: installer: Check that swap spaces have not been assigned mount points, John Darrington, 2017/01/22
- 14/26: installer: Distinguish between Wifi encryption methods., John Darrington, 2017/01/22
- 01/26: installer: Extend the 'file-system' concept to include swap spaces., John Darrington, 2017/01/22
- 21/26: installer: Do not assume the root file system is of type "ext4"., John Darrington, 2017/01/22
- 17/26: installer: Note which types of file system are supported., John Darrington, 2017/01/22
- 25/26: installer: Emphasise that writing filesystems destroys existing data., John Darrington, 2017/01/22
- 05/26: installer: Fix bug where the selected item of main page was not indicated., John Darrington, 2017/01/22
- 08/26: gurses: form: Use match instead of car, cdr etc., John Darrington, 2017/01/22
- 03/26: installer: Do not allow the creation of invalid file-system specificaitons., John Darrington, 2017/01/22
- 15/26: gurses: Allow menu update to work for panel windows., John Darrington, 2017/01/22