Kumar Thangavel | 651d8c4 | 2022-06-07 11:09:49 +0530 | [diff] [blame] | 1 | FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:" |
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 | |
Kumar Thangavel | 651d8c4 | 2022-06-07 11:09:49 +0530 | [diff] [blame] | 4 | SRC_URI:append:fb-compute-singlehost = " file://server.ttyS2.conf" |
| 5 | |
| 6 | SRC_URI:append:fb-compute-multihost = " file://server.ttyS0.conf \ |
| 7 | file://server.ttyS1.conf \ |
| 8 | file://server.ttyS2.conf \ |
| 9 | file://server.ttyS3.conf \ |
| 10 | file://client.2200.conf \ |
| 11 | file://client.2201.conf \ |
| 12 | file://client.2202.conf \ |
| 13 | file://client.2203.conf" |
Vijay Khemka | ddc2dfd | 2020-09-24 11:25:17 -0700 | [diff] [blame] | 14 | |
Patrick Williams | 6f74664 | 2021-08-06 07:40:55 -0500 | [diff] [blame] | 15 | SRC_URI:remove = "file://${BPN}.conf" |
Vijay Khemka | 1de5d0f | 2020-04-13 13:51:18 -0700 | [diff] [blame] | 16 | |
Kumar Thangavel | 651d8c4 | 2022-06-07 11:09:49 +0530 | [diff] [blame] | 17 | SYSTEMD_SERVICE:${PN}:remove:fb-compute-multihost = "obmc-console-ssh.socket" |
| 18 | EXTRA_OECONF:append:fb-compute-multihost = " --enable-concurrent-servers" |
Vijay Khemka | 923b248 | 2020-04-13 15:46:36 -0700 | [diff] [blame] | 19 | |
Patrick Williams | 6f74664 | 2021-08-06 07:40:55 -0500 | [diff] [blame] | 20 | do_install:append() { |
Vijay Khemka | 1de5d0f | 2020-04-13 13:51:18 -0700 | [diff] [blame] | 21 | # Install the server configuration |
| 22 | install -m 0755 -d ${D}${sysconfdir}/${BPN} |
| 23 | install -m 0644 ${WORKDIR}/*.conf ${D}${sysconfdir}/${BPN}/ |
| 24 | # Remove upstream-provided server configuration |
| 25 | rm -f ${D}${sysconfdir}/${BPN}/server.ttyVUART0.conf |
| 26 | } |