blob: 192b25086b5ac984cf18cc4fefb6481751c377d0 [file] [log] [blame]
Lei YU05e5f0b2021-08-12 11:08:52 +08001FILESEXTRAPATHS:append := ":${THISDIR}/${PN}"
John Wanga66aa8a2020-09-30 13:19:08 +08002OBMC_CONSOLE_HOST_TTY = "ttyS2"
3SRC_URI += "file://obmc-console@.service \
4 "
5inherit obmc-phosphor-systemd
6
Lei YU05e5f0b2021-08-12 11:08:52 +08007SYSTEMD_SERVICE:${PN} += " \
John Wanga66aa8a2020-09-30 13:19:08 +08008 ${PN}@${OBMC_CONSOLE_HOST_TTY}.service \
9 "
10
Lei YU05e5f0b2021-08-12 11:08:52 +080011do_install:append() {
John Wanga66aa8a2020-09-30 13:19:08 +080012 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}