calamares/src/modules/packages/packages.schema.yaml
Adriaan de Groot 8aa8ac2d26 [packages] Tidy up configuration
- fix the schema so the schema is valid json-schema
- the schema doesn't actually validate the *operations* yet
- sort the named backends (needs a double-check that the
  list covers all the ones we currently support)

SEE #1441
2020-07-03 21:51:39 +02:00

30 lines
631 B
YAML

---
$schema: https://json-schema.org/schema#
$id: https://calamares.io/schemas/packages
additionalProperties: false
type: object
properties:
backend:
type: string
enum:
- apk
- apt
- dnf
- entropy
- packagekit
- pacman
- portage
- urpmi
- yum
- zypp
- dummy
update_db: { type: boolean, default: true }
update_system: { type: boolean, default: false }
skip_if_no_internet: { type: boolean, default: false }
operations:
type: array
required: [ backend ]