blob: 05b4a4ef00026bf03dae0165f8c6bcafaf5c3d98 [file] [log] [blame]
Kumar Thangavel651d8c42022-06-07 11:09:49 +05301FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
Vijay Khemka84ca3282019-10-11 18:12:40 -07002OBMC_CONSOLE_HOST_TTY = "ttyS2"
Vijay Khemka1de5d0f2020-04-13 13:51:18 -07003
Kumar Thangavel651d8c42022-06-07 11:09:49 +05304SRC_URI:append:fb-compute-singlehost = " file://server.ttyS2.conf"
5
6SRC_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 Khemkaddc2dfd2020-09-24 11:25:17 -070014
Patrick Williams6f746642021-08-06 07:40:55 -050015SRC_URI:remove = "file://${BPN}.conf"
Vijay Khemka1de5d0f2020-04-13 13:51:18 -070016
Kumar Thangavel651d8c42022-06-07 11:09:49 +053017SYSTEMD_SERVICE:${PN}:remove:fb-compute-multihost = "obmc-console-ssh.socket"
18EXTRA_OECONF:append:fb-compute-multihost = " --enable-concurrent-servers"
Vijay Khemka923b2482020-04-13 15:46:36 -070019
Patrick Williams6f746642021-08-06 07:40:55 -050020do_install:append() {
Vijay Khemka1de5d0f2020-04-13 13:51:18 -070021 # 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}