Delphine CC Chiu | 99be5bc3 | 2023-12-11 13:56:32 +0800 | [diff] [blame] | 1 | FILESEXTRAPATHS:prepend := "${THISDIR}/files:" |
| 2 | |
| 3 | |
| 4 | SRC_URI += " \ |
| 5 | file://setup-local-eid.conf \ |
Chris Wang | 062def2 | 2024-04-10 16:35:42 +0800 | [diff] [blame] | 6 | file://setup-static-endpoints.conf \ |
Delphine CC Chiu | 99be5bc3 | 2023-12-11 13:56:32 +0800 | [diff] [blame] | 7 | file://mctp-config.sh \ |
Chris Wang | 062def2 | 2024-04-10 16:35:42 +0800 | [diff] [blame] | 8 | file://setup-static-endpoints.sh \ |
Delphine CC Chiu | 99be5bc3 | 2023-12-11 13:56:32 +0800 | [diff] [blame] | 9 | " |
| 10 | |
| 11 | FILES:${PN} += "${systemd_system_unitdir}/*" |
| 12 | |
| 13 | do_install:append () { |
| 14 | override_dir=${D}${systemd_system_unitdir}/mctpd.service.d |
| 15 | install -d ${D}${systemd_system_unitdir}/mctpd.service.d |
| 16 | install -d ${D}${datadir}/mctp |
| 17 | install -m 0644 ${WORKDIR}/setup-local-eid.conf \ |
| 18 | ${override_dir}/setup-local-eid.conf |
Chris Wang | 062def2 | 2024-04-10 16:35:42 +0800 | [diff] [blame] | 19 | install -m 0644 ${WORKDIR}/setup-static-endpoints.conf \ |
| 20 | ${override_dir}/setup-static-endpoints.conf |
Delphine CC Chiu | 99be5bc3 | 2023-12-11 13:56:32 +0800 | [diff] [blame] | 21 | install -m 0755 ${WORKDIR}/mctp-config.sh \ |
| 22 | ${D}${datadir}/mctp/ |
Chris Wang | 062def2 | 2024-04-10 16:35:42 +0800 | [diff] [blame] | 23 | install -m 0755 ${WORKDIR}/setup-static-endpoints.sh \ |
| 24 | ${D}${datadir}/mctp/ |
Delphine CC Chiu | 99be5bc3 | 2023-12-11 13:56:32 +0800 | [diff] [blame] | 25 | } |