summaryrefslogtreecommitdiffstats
path: root/meta-phosphor/classes/obmc-phosphor-py-daemon.bbclass
blob: 9cb8bfdbab8e9975628a9792af4d449b08a27a9d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# Common code for dbus applications using python.

inherit allarch
inherit obmc-phosphor-systemd
inherit obmc-phosphor-license

RDEPENDS_${PN} += "python-dbus python-pygobject"
INSTALL_NAME ?= "${PN}"
SCRIPT_NAME ?= "${INSTALL_NAME}.py"

do_install_append() {
        # install the script
        install -d ${D}${sbindir}
        install -m 0755 ${S}/${SCRIPT_NAME} ${D}${sbindir}/${INSTALL_NAME}
}
OpenPOWER on IntegriCloud