blob: 1d8127729c1a0e467d47a19e97659ddfd428e2bd [file] [log] [blame]
FILESEXTRAPATHS:prepend:s6q := "${THISDIR}/${PN}:"
SRC_URI:append:s6q = " file://bond_channel_config.json"
SRC_URI:append:s6q = " file://bond_channel_access.json"
do_install:append:s6q() {
if ${@bb.utils.contains('MACHINE_FEATURES', 'bonding', 'true', 'false', d)};
then
install -m 0644 -D ${WORKDIR}/bond_channel_access.json \
${D}${datadir}/ipmi-providers/channel_access.json
install -m 0644 -D ${WORKDIR}/bond_channel_config.json \
${D}${datadir}/ipmi-providers/channel_config.json
fi
}