Patrick Williams | 6f74664 | 2021-08-06 07:40:55 -0500 | [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 | |
Patrick Williams | 6f74664 | 2021-08-06 07:40:55 -0500 | [diff] [blame^] | 4 | SRC_URI:append:tiogapass = " file://server.ttyS2.conf" |
| 5 | SRC_URI:append:yosemitev2 = " file://server.ttyS0.conf \ |
Vijay Khemka | ddc2dfd | 2020-09-24 11:25:17 -0700 | [diff] [blame] | 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 | |
Patrick Williams | 6f74664 | 2021-08-06 07:40:55 -0500 | [diff] [blame^] | 14 | SRC_URI:remove = "file://${BPN}.conf" |
Vijay Khemka | 1de5d0f | 2020-04-13 13:51:18 -0700 | [diff] [blame] | 15 | |
Patrick Williams | 6f74664 | 2021-08-06 07:40:55 -0500 | [diff] [blame^] | 16 | SYSTEMD_SERVICE:${PN}:remove:yosemitev2 = "obmc-console-ssh.socket" |
| 17 | EXTRA_OECONF:append:yosemitev2 = " --enable-concurrent-servers" |
Vijay Khemka | 923b248 | 2020-04-13 15:46:36 -0700 | [diff] [blame] | 18 | |
Patrick Williams | 6f74664 | 2021-08-06 07:40:55 -0500 | [diff] [blame^] | 19 | do_install:append() { |
Vijay Khemka | 1de5d0f | 2020-04-13 13:51:18 -0700 | [diff] [blame] | 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 | } |