George Hung | 48e9a64 | 2021-01-21 07:40:27 +0800 | [diff] [blame^] | 1 | FILESEXTRAPATHS_prepend_gbs := "${THISDIR}/${PN}:" |
| 2 | |
| 3 | SRC_URI_append_gbs = " file://config-virtual-sensor.json \ |
| 4 | file://phosphor-virtual-sensor.service.replace \ |
| 5 | " |
| 6 | |
| 7 | do_install_append_gbs() { |
| 8 | install -d ${D}${datadir}/${PN} |
| 9 | install -m 0644 -D ${WORKDIR}/config-virtual-sensor.json \ |
| 10 | ${D}${datadir}/${PN}/virtual_sensor_config.json |
| 11 | |
| 12 | install -d ${D}${systemd_system_unitdir} |
| 13 | install -m 0644 ${WORKDIR}/${PN}.service.replace \ |
| 14 | ${D}${systemd_system_unitdir}/${PN}.service |
| 15 | } |