Vijay Khemka | 1de5d0f | 2020-04-13 13:51:18 -0700 | [diff] [blame] | 1 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}/${MACHINE}:" |
Vijay Khemka | 84ca328 | 2019-10-11 18:12:40 -0700 | [diff] [blame] | 2 | OBMC_CONSOLE_HOST_TTY = "ttyS2" |
Vijay Khemka | 1de5d0f | 2020-04-13 13:51:18 -0700 | [diff] [blame] | 3 | |
| 4 | SRC_URI += "file://*.conf" |
| 5 | SRC_URI_remove = "file://${BPN}.conf" |
| 6 | |
Vijay Khemka | 923b248 | 2020-04-13 15:46:36 -0700 | [diff] [blame] | 7 | SYSTEMD_SERVICE_${PN}_remove_yosemitev2 = "obmc-console-ssh.socket" |
| 8 | EXTRA_OECONF_append_yosemitev2 = " --enable-concurrent-servers" |
| 9 | |
Vijay Khemka | 1de5d0f | 2020-04-13 13:51:18 -0700 | [diff] [blame] | 10 | do_install_append() { |
| 11 | # Install the server configuration |
| 12 | install -m 0755 -d ${D}${sysconfdir}/${BPN} |
| 13 | install -m 0644 ${WORKDIR}/*.conf ${D}${sysconfdir}/${BPN}/ |
| 14 | # Remove upstream-provided server configuration |
| 15 | rm -f ${D}${sysconfdir}/${BPN}/server.ttyVUART0.conf |
| 16 | } |