Fix YAML schemas for all the remaining config files
This commit is contained in:
parent
14afce538b
commit
050d74b4be
@ -4,16 +4,22 @@ $id: https://calamares.io/schemas/fstab
|
||||
additionalProperties: false
|
||||
type: object
|
||||
properties:
|
||||
"mountOptions":
|
||||
type: map
|
||||
mapping:
|
||||
"default": { type: string, required: true }
|
||||
"btrfs": { type: string, required: true }
|
||||
"ssdExtraMountOptions":
|
||||
type: map
|
||||
mapping:
|
||||
"ext4": { type: string, required: true }
|
||||
"jfs": { type: string, required: true }
|
||||
"xfs": { type: string, required: true }
|
||||
"swap": { type: string, required: true }
|
||||
"btrfs": { type: string, required: true }
|
||||
mountOptions:
|
||||
type: object
|
||||
additionalProperties: true # we don't know which FS exist
|
||||
properties:
|
||||
default: { type: string }
|
||||
btrfs: { type: string }
|
||||
required: [ default ]
|
||||
ssdExtraMountOptions:
|
||||
type: object
|
||||
additionalProperties: true # we don't know which FS exist
|
||||
properties:
|
||||
ext4: { type: string }
|
||||
jfs: { type: string }
|
||||
xfs: { type: string }
|
||||
swap: { type: string }
|
||||
btrfs: { type: string }
|
||||
efiMountOptions: { type: string }
|
||||
crypttabOptions: { type: string }
|
||||
required: [ mountOptions ]
|
||||
|
@ -4,4 +4,6 @@ $id: https://calamares.io/schemas/initcpio
|
||||
additionalProperties: false
|
||||
type: object
|
||||
properties:
|
||||
kernel: { type: string, required: true }
|
||||
kernel: { type: string }
|
||||
be_unsafe: { type: boolean, default: false }
|
||||
required: [ kernel ]
|
||||
|
@ -4,14 +4,16 @@ $id: https://calamares.io/schemas/license
|
||||
additionalProperties: false
|
||||
type: object
|
||||
properties:
|
||||
"entries":
|
||||
type: seq
|
||||
sequence:
|
||||
- type: map
|
||||
mapping:
|
||||
"id": { type: str }
|
||||
"name": { type: str }
|
||||
"vendor": { type: str }
|
||||
"type": { type: str }
|
||||
"url": { type: str }
|
||||
"required": { type: boolean, default: false }
|
||||
entries:
|
||||
type: array
|
||||
items:
|
||||
type: object
|
||||
additionalProperties: false
|
||||
properties:
|
||||
id: { type: string }
|
||||
name: { type: string }
|
||||
vendor: { type: string }
|
||||
type: { type: string }
|
||||
url: { type: string }
|
||||
required: { type: boolean, default: false }
|
||||
expand: { type: boolean, default: false }
|
||||
|
@ -4,4 +4,5 @@ $id: https://calamares.io/schemas/luksopenswaphookcfg
|
||||
additionalProperties: false
|
||||
type: object
|
||||
properties:
|
||||
"configFilePath": { type: string, required: true }
|
||||
configFilePath: { type: string }
|
||||
required: [ configFilePath ]
|
||||
|
@ -4,21 +4,26 @@ $id: https://calamares.io/schemas/mount
|
||||
additionalProperties: false
|
||||
type: object
|
||||
properties:
|
||||
"extraMounts":
|
||||
type: seq
|
||||
sequence:
|
||||
- type: map
|
||||
mapping:
|
||||
"device": { type: string, required: true }
|
||||
"fs": { type: str }
|
||||
"mountPoint": { type: string, required: true }
|
||||
"options": { type: str }
|
||||
"extraMountsEfi":
|
||||
type: seq
|
||||
sequence:
|
||||
- type: map
|
||||
mapping:
|
||||
"device": { type: string, required: true }
|
||||
"fs": { type: str }
|
||||
"mountPoint": { type: string, required: true }
|
||||
"options": { type: str }
|
||||
# TODO: share the schema definition, since these are identical
|
||||
extraMounts:
|
||||
type: array
|
||||
items:
|
||||
type: object
|
||||
additionalProperties: false
|
||||
properties:
|
||||
device: { type: string }
|
||||
fs: { type: string }
|
||||
mountPoint: { type: string }
|
||||
options: { type: string }
|
||||
required: [ device, mountPoint ]
|
||||
extraMountsEfi:
|
||||
type: array
|
||||
items:
|
||||
type: object
|
||||
additionalProperties: false
|
||||
properties:
|
||||
device: { type: string }
|
||||
fs: { type: string }
|
||||
mountPoint: { type: string }
|
||||
options: { type: string }
|
||||
required: [ device, mountPoint ]
|
||||
|
@ -4,4 +4,4 @@ $id: https://calamares.io/schemas/plymouthcfg
|
||||
additionalProperties: false
|
||||
type: object
|
||||
properties:
|
||||
plymouth_theme: { type: str }
|
||||
plymouth_theme: { type: string }
|
||||
|
@ -4,4 +4,5 @@ $id: https://calamares.io/schemas/removeuser
|
||||
additionalProperties: false
|
||||
type: object
|
||||
properties:
|
||||
"username": { type: string, required: true }
|
||||
username: { type: string }
|
||||
required: [ username ]
|
||||
|
Loading…
Reference in New Issue
Block a user