blob: 95b43e7784e94c584f4d822cf3881849b15e714e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
FILESEXTRAPATHS_append := ":${THISDIR}/${PN}"
OBMC_CONSOLE_HOST_TTY = "ttyS2"
SRC_URI += "file://sol-option-check.sh \
file://obmc-console@.service \
file://0001-Ignore-SIG_QUIT-signal-in-obmc-console-server.patch \
"
inherit obmc-phosphor-systemd
SYSTEMD_SERVICE_${PN} += " \
${PN}@${OBMC_CONSOLE_HOST_TTY}.service \
"
do_install_append() {
rm -rf ${D}${base_libdir}/udev/rules.d/80-obmc-console-uart.rules
install -m 0644 ${WORKDIR}/${PN}@.service ${D}${systemd_system_unitdir}
install -d ${D}${bindir}
install -m 0755 ${WORKDIR}/sol-option-check.sh ${D}${bindir}
}
|