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 \ |
| 6 | file://mctp-config.sh \ |
| 7 | " |
| 8 | |
| 9 | FILES:${PN} += "${systemd_system_unitdir}/*" |
| 10 | |
| 11 | do_install:append () { |
| 12 | override_dir=${D}${systemd_system_unitdir}/mctpd.service.d |
| 13 | install -d ${D}${systemd_system_unitdir}/mctpd.service.d |
| 14 | install -d ${D}${datadir}/mctp |
| 15 | install -m 0644 ${WORKDIR}/setup-local-eid.conf \ |
| 16 | ${override_dir}/setup-local-eid.conf |
| 17 | install -m 0755 ${WORKDIR}/mctp-config.sh \ |
| 18 | ${D}${datadir}/mctp/ |
| 19 | } |