blob: f0a1c7be86708f3350fcbef06c1029935bb4464f [file] [log] [blame]
Vijay Khemka1de5d0f2020-04-13 13:51:18 -07001FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}/${MACHINE}:"
Vijay Khemka84ca3282019-10-11 18:12:40 -07002OBMC_CONSOLE_HOST_TTY = "ttyS2"
Vijay Khemka1de5d0f2020-04-13 13:51:18 -07003
Vijay Khemkaddc2dfd2020-09-24 11:25:17 -07004SRC_URI_append_tiogapass = " file://server.ttyS2.conf"
5SRC_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 Khemka1de5d0f2020-04-13 13:51:18 -070014SRC_URI_remove = "file://${BPN}.conf"
15
Vijay Khemka923b2482020-04-13 15:46:36 -070016SYSTEMD_SERVICE_${PN}_remove_yosemitev2 = "obmc-console-ssh.socket"
17EXTRA_OECONF_append_yosemitev2 = " --enable-concurrent-servers"
18
Vijay Khemka1de5d0f2020-04-13 13:51:18 -070019do_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}