blob: d30a39457766f3f491f9f11e102327153e9a4fc3 [file] [log] [blame]
Hariharasubramanian R5c3fd8a2016-02-10 13:48:33 -06001SUMMARY = "User DBUS object"
2DESCRIPTION = "User DBUS object"
3HOMEPAGE = "http://github.com/openbmc/phosphor-networkd"
4PR = "r1"
5
Brad Bishopa6a1ae02016-09-06 21:28:21 -04006inherit allarch
Hariharasubramanian R5c3fd8a2016-02-10 13:48:33 -06007inherit obmc-phosphor-license
Brad Bishopa6a1ae02016-09-06 21:28:21 -04008inherit obmc-phosphor-dbus-service
Hariharasubramanian R5c3fd8a2016-02-10 13:48:33 -06009
Brad Bishopa7156812016-09-06 22:02:03 -040010PROVIDES += "virtual/obmc-user-mgmt"
11RPROVIDES_${PN} += "virtual-obmc-user-mgmt"
12
Brad Bishop5fec9ca2016-09-13 22:51:50 -040013RDEPENDS_${PN} += " \
14 python-dbus \
15 python-pygobject \
16 python-subprocess \
17 python-pexpect"
Hariharasubramanian R5c3fd8a2016-02-10 13:48:33 -060018
19SRC_URI += "git://github.com/openbmc/phosphor-networkd"
20
Patrick Williams2601d722016-09-12 13:50:07 -050021SRCREV = "15d498e2568b6e104de75e7423caab0c9a487485"
Hariharasubramanian R5c3fd8a2016-02-10 13:48:33 -060022
23S = "${WORKDIR}/git"
Adriana Kobylakf1cd2b52016-02-11 16:31:21 -060024INSTALL_NAME = "userman.py"
Hariharasubramanian R5c3fd8a2016-02-10 13:48:33 -060025
Brad Bishopa6a1ae02016-09-06 21:28:21 -040026DBUS_SERVICE_${PN} += "org.openbmc.UserManager.service"
27
Patrick Williamsaf6d09d2016-08-15 15:52:09 -050028# Since base_do_compile finds a makefile (from networkd) it tries to
29# compile. Short-circuit that because we just need to copy a python
30# file in this package.
31do_compile() {
32 :
33}
34
Brad Bishopa6a1ae02016-09-06 21:28:21 -040035do_install_append() {
Adriana Kobylakf1cd2b52016-02-11 16:31:21 -060036echo "***installing $INSTALL_NAME"
Hariharasubramanian R5c3fd8a2016-02-10 13:48:33 -060037 install -d ${D}/${sbindir}
Adriana Kobylakf1cd2b52016-02-11 16:31:21 -060038 install ${S}/${INSTALL_NAME} ${D}/${sbindir}/obmc-phosphor-userd
Hariharasubramanian R5c3fd8a2016-02-10 13:48:33 -060039}
40