-
Notifications
You must be signed in to change notification settings - Fork 117
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
initrdscripts: Make cryptsetup fail hard in unexpected conditions
This patch adds a set of checks that make sure that the partition layout is as expected on a system with encrypted disks. Namely it * Checks that the boot partition is split * Checks that it can find the correct amount of encrypted partitions * Checks that the label on the unlocked filesystem matches the label on the encrypted partition * Checks that system is not mixing encrypted and unencrypted partitions * Checks there are no ambiguities or duplicit partitions Change-type: patch Signed-off-by: Michal Toman <[email protected]>
- Loading branch information
Showing
1 changed file
with
108 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters