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