blob: e0fc849dde68c0efff4761fef6bcbdc50e384a00 [file] [log] [blame]
Adriana Kobylak0af80a42020-05-05 13:32:10 -05001# Supported BMC layout types. Reference:
2# https://github.com/openbmc/docs/blob/master/code-update/flash-layout.md#supported-filesystem-choices
3# - static: NOR flash configured with fixed-sized MTD partitions.
4# - ubi: NOR flash device configured with UBI volumes.
5option('bmc-layout', type: 'combo',
6 choices: ['static', 'ubi'],
7 value: 'static',
8 description: 'The BMC layout type.')
9
10# Features
11option('host-bios-upgrade', type: 'feature',
12 description: 'Enable host bios upgrade support.')
13
14option('sync-bmc-files', type: 'feature',
15 description: 'Enable sync of filesystem files.')
16
17option('verify-signature', type: 'feature',
18 description: 'Enable image signature validation.')
19
20# Variables
21option(
22 'active-bmc-max-allowed', type: 'integer',
23 value: 1,
24 description: 'The maximum allowed active BMC versions.',
25)
26
27option(
28 'hash-file-name', type: 'string',
29 value: 'hashfunc',
30 description: 'The name of the hash file.',
31)
32
33option(
34 'img-upload-dir', type: 'string',
35 value: '/tmp/images',
36 description: 'Directory where downloaded software images are placed.',
37)
38
39option(
40 'manifest-file-name', type: 'string',
41 value: 'MANIFEST',
42 description: 'The name of the MANIFEST file.',
43)
44
45option(
46 'media-dir', type: 'string',
47 value: '/run/media',
48 description: 'The base dir where all read-only partitions are mounted.',
49)
50
51option(
52 'publickey-file-name', type: 'string',
53 value: 'publickey',
54 description: 'The name of the public key file.',
55)
56
57option(
58 'signature-file-ext', type: 'string',
59 value: '.sig',
60 description: 'The extension of the Signature file.',
61)
62
63option(
64 'signed-image-conf-path', type: 'string',
65 value: '/etc/activationdata/',
66 description: 'Path of public key and hash function files.',
67)
68
69option(
70 'sync-list-dir-path', type: 'string',
71 value: '/etc/',
72 description: 'The path to the sync list file directory.',
73)
74
75option(
76 'sync-list-file-name', type: 'string',
77 value: 'synclist',
78 description: 'The name of the sync list file.',
79)