Adriana Kobylak | b96c750 | 2021-08-06 16:25:30 +0000 | [diff] [blame] | 1 | FILESEXTRAPATHS:prepend := "${THISDIR}/files:" |
Andrew Jeffery | 8e962ce | 2021-06-25 09:10:46 +0930 | [diff] [blame] | 2 | |
Manojkiran Eda | 152c4df | 2023-01-25 18:28:39 +0530 | [diff] [blame] | 3 | install_mctp_configuration() { |
| 4 | install -d ${D}${sysconfdir}/default |
| 5 | install -m 0644 ${WORKDIR}/mctp ${D}${sysconfdir}/default/mctp |
Manojkiran Eda | 2232995 | 2024-01-08 10:52:54 -0600 | [diff] [blame] | 6 | install -d ${D}${systemd_system_unitdir}/mctp-demux.service.d |
| 7 | install -D -m 0644 ${WORKDIR}/service-override.conf ${D}${systemd_system_unitdir}/mctp-demux.service.d/ |
Manojkiran Eda | 152c4df | 2023-01-25 18:28:39 +0530 | [diff] [blame] | 8 | } |
| 9 | |
Adriana Kobylak | b96c750 | 2021-08-06 16:25:30 +0000 | [diff] [blame] | 10 | SRC_URI:append:p10bmc = " file://mctp" |
Manojkiran Eda | 2232995 | 2024-01-08 10:52:54 -0600 | [diff] [blame] | 11 | SRC_URI:append:p10bmc = " file://service-override.conf" |
Manojkiran Eda | 152c4df | 2023-01-25 18:28:39 +0530 | [diff] [blame] | 12 | do_install:append:p10bmc() { |
| 13 | install_mctp_configuration |
| 14 | } |
| 15 | |
Adriana Kobylak | b96c750 | 2021-08-06 16:25:30 +0000 | [diff] [blame] | 16 | SRC_URI:append:witherspoon-tacoma = " file://mctp" |
Manojkiran Eda | 2232995 | 2024-01-08 10:52:54 -0600 | [diff] [blame] | 17 | SRC_URI:append:witherspoon-tacoma = " file://service-override.conf" |
Manojkiran Eda | 152c4df | 2023-01-25 18:28:39 +0530 | [diff] [blame] | 18 | do_install:append:witherspoon-tacoma() { |
| 19 | install_mctp_configuration |
| 20 | } |
Manojkiran Eda | 2232995 | 2024-01-08 10:52:54 -0600 | [diff] [blame] | 21 | |
| 22 | FILES:${PN}:append = " ${systemd_system_unitdir}/mctp-demux.service.d/service-override.conf" |