blob: e0fc849dde68c0efff4761fef6bcbdc50e384a00 [file] [log] [blame]
# Supported BMC layout types. Reference:
# https://github.com/openbmc/docs/blob/master/code-update/flash-layout.md#supported-filesystem-choices
# - static: NOR flash configured with fixed-sized MTD partitions.
# - ubi: NOR flash device configured with UBI volumes.
option('bmc-layout', type: 'combo',
choices: ['static', 'ubi'],
value: 'static',
description: 'The BMC layout type.')
# Features
option('host-bios-upgrade', type: 'feature',
description: 'Enable host bios upgrade support.')
option('sync-bmc-files', type: 'feature',
description: 'Enable sync of filesystem files.')
option('verify-signature', type: 'feature',
description: 'Enable image signature validation.')
# Variables
option(
'active-bmc-max-allowed', type: 'integer',
value: 1,
description: 'The maximum allowed active BMC versions.',
)
option(
'hash-file-name', type: 'string',
value: 'hashfunc',
description: 'The name of the hash file.',
)
option(
'img-upload-dir', type: 'string',
value: '/tmp/images',
description: 'Directory where downloaded software images are placed.',
)
option(
'manifest-file-name', type: 'string',
value: 'MANIFEST',
description: 'The name of the MANIFEST file.',
)
option(
'media-dir', type: 'string',
value: '/run/media',
description: 'The base dir where all read-only partitions are mounted.',
)
option(
'publickey-file-name', type: 'string',
value: 'publickey',
description: 'The name of the public key file.',
)
option(
'signature-file-ext', type: 'string',
value: '.sig',
description: 'The extension of the Signature file.',
)
option(
'signed-image-conf-path', type: 'string',
value: '/etc/activationdata/',
description: 'Path of public key and hash function files.',
)
option(
'sync-list-dir-path', type: 'string',
value: '/etc/',
description: 'The path to the sync list file directory.',
)
option(
'sync-list-file-name', type: 'string',
value: 'synclist',
description: 'The name of the sync list file.',
)