blob: 2a5efdb095337beaae0c4910487fd95199b3231e [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() {
Anton Blanchard782d7192021-08-16 23:51:27 -060012 rm -rf ${D}${nonarch_base_libdir}/udev/rules.d/80-obmc-console-uart.rules
John Wanga66aa8a2020-09-30 13:19:08 +080013 install -m 0644 ${WORKDIR}/${PN}@.service ${D}${systemd_system_unitdir}
14}