[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
21/26: installer: Do not assume the root file system is of type "ext4".
From: |
John Darrington |
Subject: |
21/26: installer: Do not assume the root file system is of type "ext4". |
Date: |
Sun, 22 Jan 2017 12:09:25 +0000 (UTC) |
jmd pushed a commit to branch wip-installer
in repository guix.
commit a409951fe2ec5eb09a4edef90031f8441a11470d
Author: John Darrington <address@hidden>
Date: Thu Jan 19 21:49:27 2017 +0100
installer: Do not assume the root file system is of type "ext4".
* gnu/system/installer/install.scm (page-key-handler): Select the
appropriate
filesystem type to mount.
---
gnu/system/installer/install.scm | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/gnu/system/installer/install.scm b/gnu/system/installer/install.scm
index b62c938..4753ae4 100644
--- a/gnu/system/installer/install.scm
+++ b/gnu/system/installer/install.scm
@@ -21,6 +21,7 @@
#:use-module (gnu system installer ping)
#:use-module (gnu system installer misc)
#:use-module (gnu system installer utils)
+ #:use-module (gnu system installer filesystems)
#:use-module (ice-9 format)
#:use-module (ice-9 match)
#:use-module (gurses buttons)
@@ -90,7 +91,11 @@
(lambda ()
(and
(mkdir-p target)
- (mount root-device target "ext4" #:update-mtab? #f)
+
+ (mount root-device target
+ (symbol->string
+ (file-system-spec-type (assoc-ref mount-points
root-device)))
+ #:update-mtab? #f)
(zero? (pipe-cmd window-port "herd"
"herd" "start" "cow-store" target))
- 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, 2017/01/22
- 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 <=
- 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
- 18/26: gurses: Populate the choices box in forms., John Darrington, 2017/01/22
- 06/26: installer: Add an explanatory text to the main page., John Darrington, 2017/01/22
- 22/26: installer: mount-points page: Enlarge the forms window., John Darrington, 2017/01/22
- 13/26: installer: Remove unnecessary "begin"., John Darrington, 2017/01/22