Brad Bishop | c7d1cd9 | 2020-09-09 09:57:07 -0400 | [diff] [blame] | 1 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}/${MACHINE}:" |
2 | OBMC_CONSOLE_HOST_TTY = "ttyS0" | ||||
3 | |||||
4 | SRC_URI_remove = "file://${BPN}.conf" | ||||
5 | SRC_URI += "file://server.ttyS0.conf" | ||||
6 | |||||
7 | do_install_append() { | ||||
8 | # Remove upstream-provided configuration | ||||
9 | rm -rf ${D}${sysconfdir}/${BPN} | ||||
10 | |||||
11 | # Install the server configuration | ||||
12 | install -m 0755 -d ${D}${sysconfdir}/${BPN} | ||||
13 | install -m 0644 ${WORKDIR}/*.conf ${D}${sysconfdir}/${BPN}/ | ||||
14 | |||||
15 | } |