19 lines
493 B
Plaintext
Executable File
19 lines
493 B
Plaintext
Executable File
FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
|
|
|
|
inherit obmc-phosphor-systemd
|
|
|
|
SRC_URI += "file://dimm-fsc.service \
|
|
file://dimm-fsc.sh \
|
|
"
|
|
|
|
SYSTEMD_SERVICE_${PN} = "dimm-fsc.service"
|
|
|
|
do_install:append() {
|
|
# deal with systemd unit files
|
|
|
|
install -d ${D}${systemd_unitdir}/system
|
|
install -m 0755 ${WORKDIR}/dimm-fsc.sh ${D}${bindir}/dimm-fsc.sh
|
|
install -m 0644 ${WORKDIR}/dimm-fsc.service ${D}${systemd_unitdir}/system
|
|
}
|
|
|
|
FILES_${PN} += "${systemd_unitdir}/system/dimm-fsc.service" |