blob: a4c7f810926034e99c287e4a7cc4378c7867fbe5 [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 Williamsdcfec8d2017-03-24 10:20:05 -050021SRCREV = "968d203ef934d68ded7e026d38dc77835116dedd"
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