blob: 2666140790ca828f38c6aeeaa32a70c2c8ac684b [file] [log] [blame]
Patrick Williams6f746642021-08-06 07:40:55 -05001FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}/${MACHINE}:"
Vijay Khemka84ca3282019-10-11 18:12:40 -07002OBMC_CONSOLE_HOST_TTY = "ttyS2"
Vijay Khemka1de5d0f2020-04-13 13:51:18 -07003
Patrick Williams6f746642021-08-06 07:40:55 -05004SRC_URI:append:tiogapass = " file://server.ttyS2.conf"
5SRC_URI:append:yosemitev2 = " file://server.ttyS0.conf \
Vijay Khemkaddc2dfd2020-09-24 11:25:17 -07006 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 Williams6f746642021-08-06 07:40:55 -050014SRC_URI:remove = "file://${BPN}.conf"
Vijay Khemka1de5d0f2020-04-13 13:51:18 -070015
Patrick Williams6f746642021-08-06 07:40:55 -050016SYSTEMD_SERVICE:${PN}:remove:yosemitev2 = "obmc-console-ssh.socket"
17EXTRA_OECONF:append:yosemitev2 = " --enable-concurrent-servers"
Vijay Khemka923b2482020-04-13 15:46:36 -070018
Patrick Williams6f746642021-08-06 07:40:55 -050019do_install:append() {
Vijay Khemka1de5d0f2020-04-13 13:51:18 -070020 # 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}