blob: a5d722fda8f677f7ddb3ffd9d3bc5ff085452601 [file] [log] [blame]
FILESEXTRAPATHS_append := ":${THISDIR}/${PN}"
OBMC_CONSOLE_HOST_TTY = "ttyS2"
SRC_URI += "file://obmc-console@.service \
"
inherit obmc-phosphor-systemd
SYSTEMD_SERVICE_${PN} += " \
${PN}@${OBMC_CONSOLE_HOST_TTY}.service \
"
do_install_append() {
rm -rf ${D}${base_libdir}/udev/rules.d/80-obmc-console-uart.rules
install -m 0644 ${WORKDIR}/${PN}@.service ${D}${systemd_system_unitdir}
}