Files
OpenBMC/meta-quanta/meta-gbs/recipes-phosphor/sensors/phosphor-nvme_%.bbappend
T
2026-04-23 17:07:55 +08:00

18 lines
713 B
Plaintext

FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
SRC_URI:append:gbs = " file://nvme_config.json"
SRC_URI:append:gbs = " file://nvme_json_rewrite.sh"
SRC_URI:append:gbs = " file://xyz.openbmc_project.nvme.manager.service.replace"
RDEPENDS:${PN} += "bash"
do_install:append:gbs() {
install -d ${D}/${sysconfdir}/nvme/
install -m 0644 ${WORKDIR}/nvme_config.json ${D}/${sysconfdir}/nvme/
install -d ${D}${bindir}
install -m 0755 ${WORKDIR}/nvme_json_rewrite.sh ${D}${bindir}/
install -d ${D}${systemd_system_unitdir}
install -m 0644 ${WORKDIR}/xyz.openbmc_project.nvme.manager.service.replace ${D}${systemd_system_unitdir}/xyz.openbmc_project.nvme.manager.service
}