aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2022-07-30 14:45:09 -0700
committerSean Whitton <spwhitton@spwhitton.name>2022-07-30 14:45:09 -0700
commit94a10f08b087afa25cd7757e1ad2ad4c9a82f63b (patch)
treed3f48ea71638181bdac322c734ae307f43c49b2f /src
parent604ac72838991db64b3b3caed9f1a564fafe7464 (diff)
downloadconsfigurator-94a10f08b087afa25cd7757e1ad2ad4c9a82f63b.tar.gz
rebuild the initramfs after populating the crypttab
Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
Diffstat (limited to 'src')
-rw-r--r--src/property/installer.lisp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/property/installer.lisp b/src/property/installer.lisp
index e2d8585..2af3289 100644
--- a/src/property/installer.lisp
+++ b/src/property/installer.lisp
@@ -131,7 +131,8 @@ MOUNT-BELOW and LEAVE-OPEN are passed on to WITH-OPENED-VOLUMES, which see."
;; there are other properties setting mount options etc. which
;; are in conflict with VOLUMES.
(fstab:has-entries-for-opened-volumes)
- (crypttab:has-entries-for-opened-volumes))))
+ (on-change (crypttab:has-entries-for-opened-volumes)
+ (cmd:single "update-initramfs" "-u")))))
(%install-bootloaders
,@(get-propspecs (get-hostattrs :volumes))))))))