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://pre-heat.service \
|
|
file://pre-heat.sh \
|
|
"
|
|
|
|
SYSTEMD_SERVICE_${PN} = "pre-heat.service"
|
|
|
|
do_install:append() {
|
|
# deal with systemd unit files
|
|
|
|
install -d ${D}${systemd_unitdir}/system
|
|
install -m 0755 ${WORKDIR}/pre-heat.sh ${D}${bindir}/pre-heat.sh
|
|
install -m 0644 ${WORKDIR}/pre-heat.service ${D}${systemd_unitdir}/system
|
|
}
|
|
|
|
FILES_${PN} += "${systemd_unitdir}/system/pre-heat.service" |