From 94a10f08b087afa25cd7757e1ad2ad4c9a82f63b Mon Sep 17 00:00:00 2001 From: Sean Whitton Date: Sat, 30 Jul 2022 14:45:09 -0700 Subject: rebuild the initramfs after populating the crypttab Signed-off-by: Sean Whitton --- src/property/installer.lisp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/property/installer.lisp') 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)))))))) -- cgit v1.2.3