blob: 11e942934019d55a8cd561bdc6020a0b620d060e [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
Adriana Kobylak78e72d92020-05-05 14:01:54 -050017option('tests', type: 'feature', description: 'Build tests')
18
19option('oe-sdk', type: 'feature', description: 'Enable OE SDK')
20
Adriana Kobylak0af80a42020-05-05 13:32:10 -050021option('verify-signature', type: 'feature',
22 description: 'Enable image signature validation.')
23
24# Variables
25option(
26 'active-bmc-max-allowed', type: 'integer',
27 value: 1,
28 description: 'The maximum allowed active BMC versions.',
29)
30
31option(
32 'hash-file-name', type: 'string',
33 value: 'hashfunc',
34 description: 'The name of the hash file.',
35)
36
37option(
38 'img-upload-dir', type: 'string',
39 value: '/tmp/images',
40 description: 'Directory where downloaded software images are placed.',
41)
42
43option(
44 'manifest-file-name', type: 'string',
45 value: 'MANIFEST',
46 description: 'The name of the MANIFEST file.',
47)
48
49option(
50 'media-dir', type: 'string',
51 value: '/run/media',
52 description: 'The base dir where all read-only partitions are mounted.',
53)
54
55option(
56 'publickey-file-name', type: 'string',
57 value: 'publickey',
58 description: 'The name of the public key file.',
59)
60
61option(
62 'signature-file-ext', type: 'string',
63 value: '.sig',
64 description: 'The extension of the Signature file.',
65)
66
67option(
68 'signed-image-conf-path', type: 'string',
69 value: '/etc/activationdata/',
70 description: 'Path of public key and hash function files.',
71)
72
73option(
74 'sync-list-dir-path', type: 'string',
75 value: '/etc/',
76 description: 'The path to the sync list file directory.',
77)
78
79option(
80 'sync-list-file-name', type: 'string',
81 value: 'synclist',
82 description: 'The name of the sync list file.',
83)