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 | |
Vijay Khemka | ddc2dfd | 2020-09-24 11:25:17 -0700 | [diff] [blame] | 4 | SRC_URI_append_tiogapass = " file://server.ttyS2.conf" |
| 5 | SRC_URI_append_yosemitev2 = " file://server.ttyS0.conf \ |
| 6 | file://server.ttyS1.conf \ |
| 7 | file://server.ttyS2.conf \ |
| 8 | file://server.ttyS3.conf \ |
| 9 | file://client.2200.conf \ |
| 10 | file://client.2201.conf \ |
| 11 | file://client.2202.conf \ |
| 12 | file://client.2203.conf" |
| 13 | |
Vijay Khemka | 1de5d0f | 2020-04-13 13:51:18 -0700 | [diff] [blame] | 14 | SRC_URI_remove = "file://${BPN}.conf" |
| 15 | |
Vijay Khemka | 923b248 | 2020-04-13 15:46:36 -0700 | [diff] [blame] | 16 | SYSTEMD_SERVICE_${PN}_remove_yosemitev2 = "obmc-console-ssh.socket" |
| 17 | EXTRA_OECONF_append_yosemitev2 = " --enable-concurrent-servers" |
| 18 | |
Vijay Khemka | 1de5d0f | 2020-04-13 13:51:18 -0700 | [diff] [blame] | 19 | do_install_append() { |
| 20 | # Install the server configuration |
| 21 | install -m 0755 -d ${D}${sysconfdir}/${BPN} |
| 22 | install -m 0644 ${WORKDIR}/*.conf ${D}${sysconfdir}/${BPN}/ |
| 23 | # Remove upstream-provided server configuration |
| 24 | rm -f ${D}${sysconfdir}/${BPN}/server.ttyVUART0.conf |
| 25 | } |