Files
OpenBMC/meta-luxshare/meta-bhs/recipes-phosphor/console/obmc-console_%.bbappend
T

28 lines
1.1 KiB
Plaintext
Raw Normal View History

2026-04-23 17:07:55 +08:00
# Enable downstream autobump - this can be removed after upstream sync
# The URI is required for the autobump script but keep it commented
# to not override the upstream value
# SRC_URI = "git://github.com/openbmc/obmc-console;branch=master;protocol=https"
SRCREV = "dfda5afb4ff7c76c4df3ebebbf496fdbda0fbbae"
FILESEXTRAPATHS:append := ":${THISDIR}/${PN}"
OBMC_CONSOLE_HOST_TTY = "ttyS2"
SRC_URI += "file://sol-configure.sh \
file://pre-post-routing.conf \
file://server.ttyS2.conf \
file://0001-Use-sol-configure.sh-to-configure-UART-routing.patch \
file://0001-Support-SOL-non-volatile-bitrate-and-volatile-bitrat.patch \
file://0002-Sol-support-921600-bitrate.patch \
"
do_install:append() {
install -d ${D}${bindir}
install -m 0755 ${WORKDIR}/sol-configure.sh ${D}${bindir}
local drop_in=${D}${sysconfdir}/systemd/system/${PN}@${OBMC_CONSOLE_HOST_TTY}
local service_drop_in=${drop_in}.service.d
# Install service drop-in override to add UART routing and baud configuration
install -d $service_drop_in
install -m 0644 ${WORKDIR}/pre-post-routing.conf $service_drop_in
}