blob: 637fad615d79c4446639fbdb076f0ed77ba976ff [file] [log] [blame]
FILESEXTRAPATHS:prepend := "${THISDIR}/files:"
install_mctp_configuration() {
install -d ${D}${sysconfdir}/default
install -m 0644 ${WORKDIR}/mctp ${D}${sysconfdir}/default/mctp
install -d ${D}${systemd_system_unitdir}/mctp-demux.service.d
install -D -m 0644 ${WORKDIR}/service-override.conf ${D}${systemd_system_unitdir}/mctp-demux.service.d/
}
SRC_URI:append:p10bmc = " file://mctp"
SRC_URI:append:p10bmc = " file://service-override.conf"
do_install:append:p10bmc() {
install_mctp_configuration
}
SRC_URI:append:witherspoon-tacoma = " file://mctp"
SRC_URI:append:witherspoon-tacoma = " file://service-override.conf"
do_install:append:witherspoon-tacoma() {
install_mctp_configuration
}
FILES:${PN}:append = " ${systemd_system_unitdir}/mctp-demux.service.d/service-override.conf"