aboutsummaryrefslogtreecommitdiff
path: root/src/property/installer.lisp
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2021-04-30 17:38:08 -0700
committerSean Whitton <spwhitton@spwhitton.name>2021-04-30 17:56:41 -0700
commitd2f5c3fa881329dcf420b792b3b1c5f68257d91c (patch)
tree767affea03b9796563d94b75dcf80d58e9fbb7a3 /src/property/installer.lisp
parentad1ad2a2e3200a2de050a5a7560c7c806122e880 (diff)
downloadconsfigurator-d2f5c3fa881329dcf420b792b3b1c5f68257d91c.tar.gz
comments
Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
Diffstat (limited to 'src/property/installer.lisp')
-rw-r--r--src/property/installer.lisp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/property/installer.lisp b/src/property/installer.lisp
index 95f0fb5..93f9841 100644
--- a/src/property/installer.lisp
+++ b/src/property/installer.lisp
@@ -50,7 +50,14 @@ Also update the fstab and crypttab, and try to install a bootloader."
:systems nil
:propspec
'(eseqprops
+ ;; This will overwrite any custom mount options, etc., with values
+ ;; from VOLUMES. Possibly it would be better to use a property
+ ;; which only updates the fs-spec field. However, given that
+ ;; VOLUMES ultimately comes from the volumes the user has declared
+ ;; for the host, it is unlikely there are other properties setting
+ ;; mount options etc. which are in conflict with VOLUMES.
(fstab:entries-for-opened-volumes)
+ ;; Debian and derivatives add this line.
(file:lacks-lines "/etc/fstab" "# UNCONFIGURED FSTAB FOR BASE SYSTEM"))))
;; TODO Update /etc/crypttab
;; TODO Install bootloader