2020-08-21 19:43:53 +02:00
|
|
|
# SPDX-FileCopyrightText: 2020 Adriaan de Groot <groot@kde.org>
|
|
|
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
2020-06-16 16:06:56 +02:00
|
|
|
---
|
|
|
|
$schema: https://json-schema.org/schema#
|
|
|
|
$id: https://calamares.io/schemas/partition
|
|
|
|
additionalProperties: false
|
|
|
|
type: object
|
|
|
|
properties:
|
2020-07-31 14:13:08 +02:00
|
|
|
efiSystemPartition: { type: string } # Mount point
|
|
|
|
efiSystemPartitionSize: { type: string }
|
|
|
|
efiSystemPartitionName: { type: string }
|
|
|
|
|
|
|
|
userSwapChoices: { type: array, items: { type: string, enum: [ none, reuse, small, suspend, file ] } }
|
|
|
|
# ensureSuspendToDisk: { type: boolean, default: true } # Legacy
|
|
|
|
# neverCreateSwap: { type: boolean, default: false } # Legacy
|
|
|
|
|
2020-06-16 16:06:56 +02:00
|
|
|
drawNestedPartitions: { type: boolean, default: false }
|
|
|
|
alwaysShowPartitionLabels: { type: boolean, default: true }
|
2020-07-31 14:13:08 +02:00
|
|
|
|
|
|
|
defaultFileSystemType: { type: string }
|
|
|
|
enableLuksAutomatedPartitioning: { type: boolean, default: false }
|
|
|
|
allowManualPartitioning: { type: boolean, default: true }
|
|
|
|
partitionLayout: { type: array } # TODO: specify items
|
2020-07-30 11:36:59 +02:00
|
|
|
initialPartitioningChoice: { type: string, enum: [ none, erase, replace, alongside, manual ] }
|
2020-07-31 14:13:08 +02:00
|
|
|
|
|
|
|
requiredStorage: { type: number }
|
|
|
|
required:
|
|
|
|
- efiSystemPartition
|
|
|
|
- userSwapChoices
|