Initial commit
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
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"
|
||||
Reference in New Issue
Block a user