[bootloader] Repair schema file

Looks like clang-format was applied to this JSON schema
file in 5a14c3c76f, which is
completely borked. Restore from earlier revision, now
with just `machineid` removed.
This commit is contained in:
Adriaan de Groot 2022-06-27 22:50:37 +02:00
parent 1c7c0b9af8
commit ef4980448a

View File

@ -1,31 +1,38 @@
#SPDX - FileCopyrightText : 2020 Adriaan de Groot < groot @kde.org>
#SPDX - License - Identifier : GPL - 3.0 - or -later
-- -$schema : https : //json-schema.org/schema#
$id : https : //calamares.io/schemas/bootloader
additionalProperties : false type : object properties : efiBootLoader
: { type : string } kernelSearchPath : { type : string } kernelName : { type : string } timeout:
{
type:
string
}
#Inserted verbatim additionalInitrdFiles : type : array items : type : string bootloaderEntryName : {
type : string } kernelLine : { type : string } fallbackKernelLine:
{
type:
string
}
# SPDX-FileCopyrightText: 2020 Adriaan de Groot <groot@kde.org>
# SPDX-License-Identifier: GPL-3.0-or-later
---
$schema: https://json-schema.org/schema#
$id: https://calamares.io/schemas/bootloader
additionalProperties: false
type: object
properties:
efiBootLoader: { type: string }
kernelSearchPath: { type: string }
kernelName: { type: string }
timeout: { type: string } # Inserted verbatim
additionalInitrdFiles:
type: array
items:
type: string
bootloaderEntryName: { type: string }
kernelLine: { type: string }
fallbackKernelLine: { type: string }
#Programs
grubInstall : { type : string } grubMkconfig : { type : string } grubCfg : { type : string } grubProbe
: { type : string } efiBootMgr : { type : string }
# Programs
grubInstall: { type: string }
grubMkconfig: { type: string }
grubCfg: { type: string }
grubProbe: { type: string }
efiBootMgr: { type: string }
efiBootloaderId : { type : string } installEFIFallback : { type : boolean }
efiBootloaderId: { type: string }
installEFIFallback: { type: boolean }
required
: -efiBootLoader
- kernelSearchPath
- kernelName
- grubInstall
- grubMkconfig
- grubCfg
- grubProbe
required:
- efiBootLoader
- kernelSearchPath
- kernelName
- grubInstall
- grubMkconfig
- grubCfg
- grubProbe