From f5a0a96c61db65d5d441df02958864edae99f3df Mon Sep 17 00:00:00 2001 From: Rezart Qelibari Date: Mon, 2 May 2022 04:03:44 +0200 Subject: [PATCH] Update APFS preboot volume --- modules/02-create-filevault-user.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/02-create-filevault-user.sh b/modules/02-create-filevault-user.sh index 072c2e4..469cc71 100755 --- a/modules/02-create-filevault-user.sh +++ b/modules/02-create-filevault-user.sh @@ -195,6 +195,7 @@ function configure_system() { checkSecureTokenForUser "${filevault_username}" || configureSecureToken || { lop -- -e 'Could not configure secure token for FileVault user.'; return 17 } canUserUnlockDisk ${filevault_username} || allowFileVaultUserToUnlockDisk || { lop -- -e 'Was not able to allow FileVault user to unlock disk.'; return 18 } allowOnlyFileVaultUserToUnlock "${filevault_username}" || { lop -- -e 'Was not able to deactivate all other user from unlocking disk.'; return 19 } + indicateActivity -- 'Update APFS preboot volume' diskutil apfs updatePreboot / || { lop -- -e 'Was not able to update APFS preboot volume.'; return 20 } } function getHelpPrerequisites() {