Konstantin Aladyshev | 2de8c60 | 2021-09-01 11:34:44 +0300 | [diff] [blame] | 1 | FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}/${MACHINE}:" |
Brad Bishop | c7d1cd9 | 2020-09-09 09:57:07 -0400 | [diff] [blame] | 2 | OBMC_CONSOLE_HOST_TTY = "ttyS0" |
| 3 | |
Konstantin Aladyshev | 2de8c60 | 2021-09-01 11:34:44 +0300 | [diff] [blame] | 4 | SRC_URI:remove = "file://${BPN}.conf" |
Brad Bishop | c7d1cd9 | 2020-09-09 09:57:07 -0400 | [diff] [blame] | 5 | SRC_URI += "file://server.ttyS0.conf" |
| 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 | } |