John Wang | 1f40f6d | 2020-09-30 13:19:08 +0800 | [diff] [blame] | 1 | FILESEXTRAPATHS_append := ":${THISDIR}/${PN}" |
2 | OBMC_CONSOLE_HOST_TTY = "ttyS2" | ||||
3 | SRC_URI += "file://obmc-console@.service \ | ||||
4 | " | ||||
5 | inherit obmc-phosphor-systemd | ||||
6 | |||||
7 | SYSTEMD_SERVICE_${PN} += " \ | ||||
8 | ${PN}@${OBMC_CONSOLE_HOST_TTY}.service \ | ||||
9 | " | ||||
10 | |||||
11 | do_install_append() { | ||||
12 | rm -rf ${D}${base_libdir}/udev/rules.d/80-obmc-console-uart.rules | ||||
13 | install -m 0644 ${WORKDIR}/${PN}@.service ${D}${systemd_system_unitdir} | ||||
14 | } |