Files
OpenBMC/meta-amd/recipes-phosphor/console/obmc-console_%.bbappend
T
2026-04-23 17:07:55 +08:00

18 lines
574 B
Plaintext

FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}/${MACHINE}:"
OBMC_CONSOLE_HOST_TTY:ethanolx = "ttyS0"
OBMC_CONSOLE_HOST_TTY:daytonax = "ttyVUART0"
SRC_URI:remove = "file://${BPN}.conf"
SRC_URI:append:ethanolx = " file://server.ttyS0.conf"
SRC_URI:append:daytonax = " file://server.ttyVUART0.conf"
do_install:append() {
# Remove upstream-provided configuration
rm -rf ${D}${sysconfdir}/${BPN}
# Install the server configuration
install -m 0755 -d ${D}${sysconfdir}/${BPN}
install -m 0644 ${WORKDIR}/*.conf ${D}${sysconfdir}/${BPN}/
}