Jerry Wan | 206f7ed | 2022-01-21 11:46:23 +0800 | [diff] [blame] | 1 | FILESEXTRAPATHS:prepend:s6q := "${THISDIR}/${PN}:" |
| 2 | |
| 3 | SRC_URI:append:s6q = " file://bond_channel_config.json" |
| 4 | SRC_URI:append:s6q = " file://bond_channel_access.json" |
| 5 | |
| 6 | do_install:append:s6q() { |
| 7 | if ${@bb.utils.contains('MACHINE_FEATURES', 'bonding', 'true', 'false', d)}; |
| 8 | then |
| 9 | install -m 0644 -D ${WORKDIR}/bond_channel_access.json \ |
| 10 | ${D}${datadir}/ipmi-providers/channel_access.json |
| 11 | install -m 0644 -D ${WORKDIR}/bond_channel_config.json \ |
| 12 | ${D}${datadir}/ipmi-providers/channel_config.json |
| 13 | fi |
| 14 | } |