28 lines
1.1 KiB
Plaintext
28 lines
1.1 KiB
Plaintext
|
|
# 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
|
||
|
|
}
|