[partition] Allow 'luks' as alias of 'luks1'
This commit is contained in:
parent
f31056faae
commit
703cbb7bf3
@ -66,6 +66,7 @@ Config::luksGenerationNames()
|
||||
// clang-format off
|
||||
static const NamedEnumTable< LuksGeneration > names {
|
||||
{ QStringLiteral( "luks1" ), LuksGeneration::Luks1 },
|
||||
{ QStringLiteral( "luks" ), LuksGeneration::Luks1 },
|
||||
{ QStringLiteral( "luks2" ), LuksGeneration::Luks2 },
|
||||
};
|
||||
// clang-format on
|
||||
|
@ -72,7 +72,7 @@ userSwapChoices:
|
||||
# also set to luks2. Also there are some patches for grub and Argon2.
|
||||
# See: https://aur.archlinux.org/packages/grub-improved-luks2-git
|
||||
#
|
||||
# Choices: luks1, luks2
|
||||
# Choices: luks1, luks2 (in addition, "luks" means "luks1")
|
||||
#
|
||||
# The default is luks1
|
||||
#
|
||||
|
@ -20,7 +20,7 @@ properties:
|
||||
defaultFileSystemType: { type: string }
|
||||
availableFileSystemTypes: { type: array, items: { type: string } }
|
||||
|
||||
luksGeneration: { type: string, enum: [luks1, luks2] }
|
||||
luksGeneration: { type: string, enum: [luks1, luks2] } # Also allows "luks" as alias of "luks1"
|
||||
enableLuksAutomatedPartitioning: { type: boolean, default: false }
|
||||
|
||||
allowManualPartitioning: { type: boolean, default: true }
|
||||
|
Loading…
Reference in New Issue
Block a user