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" |
Brad Bishop | c7d1cd9 | 2020-09-09 09:57:07 -0400 | [diff] [blame] | 3 | |
Konstantin Aladyshev | 2de8c60 | 2021-09-01 11:34:44 +0300 | [diff] [blame] | 4 | SRC_URI:remove = "file://${BPN}.conf" |
Konstantin Aladyshev | 040d3bc | 2023-01-17 12:48:39 +0300 | [diff] [blame] | 5 | SRC_URI:ethanolx += "file://server.ttyS0.conf" |
Brad Bishop | c7d1cd9 | 2020-09-09 09:57:07 -0400 | [diff] [blame] | 6 | |
Konstantin Aladyshev | 2de8c60 | 2021-09-01 11:34:44 +0300 | [diff] [blame] | 7 | do_install:append() { |
Brad Bishop | c7d1cd9 | 2020-09-09 09:57:07 -0400 | [diff] [blame] | 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 | } |