summaryrefslogtreecommitdiffstats
path: root/meta-phosphor/common/recipes-phosphor/console/obmc-console.bb
blob: f6c1db2d0fffd5df65b8726b89943c3a47f87c30 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
SUMMARY = "OpenBMC console daemon"
DESCRIPTION = "Daemon to handle UART console connections"
HOMEPAGE = "http://github.com/openbmc/obmc-console"
PR = "r1"

inherit obmc-phosphor-license
inherit obmc-phosphor-systemd
inherit autotools
inherit obmc-phosphor-discovery-service

TARGET_CFLAGS   += "-fpic -O2"

DEPENDS += "autoconf-archive-native"

SRC_URI += "git://github.com/openbmc/obmc-console"
SRC_URI += "file://${PN}.conf"

SRCREV = "44580de4e2170c8ee06dbf401315d3acfcf52b22"

REGISTERED_SERVICES_${PN} += "obmc_console:tcp:2200"

SYSTEMD_SERVICE_${PN} = " \
        ${PN}.service \
        ${PN}-ssh.socket \
        ${PN}-ssh@.service \
        "

do_install_append() {
        install -m 0755 -d ${D}${sysconfdir}
        install -m 0644 ${WORKDIR}/${PN}.conf ${D}${sysconfdir}/${PN}.conf
}

S = "${WORKDIR}/git"
OpenPOWER on IntegriCloud