Konstantin Aladyshev | 2de8c60 | 2021-09-01 11:34:44 +0300 | [diff] [blame] | 1 | FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}/${MACHINE}:" |
Konstantin Aladyshev | 040d3bc | 2023-01-17 12:48:39 +0300 | [diff] [blame] | 2 | OBMC_CONSOLE_HOST_TTY:ethanolx = "ttyS0" |
Konstantin Aladyshev | 16a8c79 | 2023-01-17 14:30:48 +0300 | [diff] [blame] | 3 | OBMC_CONSOLE_HOST_TTY:daytonax = "ttyVUART0" |
Brad Bishop | c7d1cd9 | 2020-09-09 09:57:07 -0400 | [diff] [blame] | 4 | |
Konstantin Aladyshev | 2de8c60 | 2021-09-01 11:34:44 +0300 | [diff] [blame] | 5 | SRC_URI:remove = "file://${BPN}.conf" |
Konstantin Aladyshev | b813198 | 2023-04-10 11:28:08 +0300 | [diff] [blame] | 6 | SRC_URI:append:ethanolx = " file://server.ttyS0.conf" |
| 7 | SRC_URI:append:daytonax = " file://server.ttyVUART0.conf" |
Brad Bishop | c7d1cd9 | 2020-09-09 09:57:07 -0400 | [diff] [blame] | 8 | |
Konstantin Aladyshev | 2de8c60 | 2021-09-01 11:34:44 +0300 | [diff] [blame] | 9 | do_install:append() { |
Brad Bishop | c7d1cd9 | 2020-09-09 09:57:07 -0400 | [diff] [blame] | 10 | # Remove upstream-provided configuration |
| 11 | rm -rf ${D}${sysconfdir}/${BPN} |
| 12 | |
| 13 | # Install the server configuration |
| 14 | install -m 0755 -d ${D}${sysconfdir}/${BPN} |
| 15 | install -m 0644 ${WORKDIR}/*.conf ${D}${sysconfdir}/${BPN}/ |
| 16 | |
| 17 | } |