Brandon Kim | 1e42709 | 2021-08-10 15:46:03 -0700 | [diff] [blame] | 1 | FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:" |
| 2 | SRC_URI:append:gbs = " file://nvme_config.json" |
| 3 | SRC_URI:append:gbs = " file://nvme_json_rewrite.sh" |
| 4 | SRC_URI:append:gbs = " file://xyz.openbmc_project.nvme.manager.service.replace" |
George Hung | 9dcc357 | 2020-06-30 15:48:16 +0800 | [diff] [blame] | 5 | |
Brandon Kim | 1e42709 | 2021-08-10 15:46:03 -0700 | [diff] [blame] | 6 | RDEPENDS:${PN} += "bash" |
George Hung | 9dcc357 | 2020-06-30 15:48:16 +0800 | [diff] [blame] | 7 | |
Brandon Kim | 1e42709 | 2021-08-10 15:46:03 -0700 | [diff] [blame] | 8 | do_install:append:gbs() { |
George Hung | 9dcc357 | 2020-06-30 15:48:16 +0800 | [diff] [blame] | 9 | install -d ${D}/${sysconfdir}/nvme/ |
| 10 | install -m 0644 ${WORKDIR}/nvme_config.json ${D}/${sysconfdir}/nvme/ |
| 11 | |
| 12 | install -d ${D}${bindir} |
| 13 | install -m 0755 ${WORKDIR}/nvme_json_rewrite.sh ${D}${bindir}/ |
| 14 | |
| 15 | install -d ${D}${systemd_system_unitdir} |
| 16 | install -m 0644 ${WORKDIR}/xyz.openbmc_project.nvme.manager.service.replace ${D}${systemd_system_unitdir}/xyz.openbmc_project.nvme.manager.service |
| 17 | } |