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