blob: ab61422cb0e1cbc31f54a566a8291430493cb600 [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
4SRC_URI += "file://*.conf"
5SRC_URI_remove = "file://${BPN}.conf"
6
Vijay Khemka923b2482020-04-13 15:46:36 -07007SYSTEMD_SERVICE_${PN}_remove_yosemitev2 = "obmc-console-ssh.socket"
8EXTRA_OECONF_append_yosemitev2 = " --enable-concurrent-servers"
9
Vijay Khemka1de5d0f2020-04-13 13:51:18 -070010do_install_append() {
11 # Install the server configuration
12 install -m 0755 -d ${D}${sysconfdir}/${BPN}
13 install -m 0644 ${WORKDIR}/*.conf ${D}${sysconfdir}/${BPN}/
14 # Remove upstream-provided server configuration
15 rm -f ${D}${sysconfdir}/${BPN}/server.ttyVUART0.conf
16}