blob: a30740359ca9efe2fd3ab8b931e3570f49214ff5 [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
Hariharasubramanian R5c3fd8a2016-02-10 13:48:33 -060013RDEPENDS_${PN} += "python-dbus python-pygobject python-pexpect"
14
15SRC_URI += "git://github.com/openbmc/phosphor-networkd"
16
Patrick Williams2601d722016-09-12 13:50:07 -050017SRCREV = "15d498e2568b6e104de75e7423caab0c9a487485"
Hariharasubramanian R5c3fd8a2016-02-10 13:48:33 -060018
19S = "${WORKDIR}/git"
Adriana Kobylakf1cd2b52016-02-11 16:31:21 -060020INSTALL_NAME = "userman.py"
Hariharasubramanian R5c3fd8a2016-02-10 13:48:33 -060021
Brad Bishopa6a1ae02016-09-06 21:28:21 -040022DBUS_SERVICE_${PN} += "org.openbmc.UserManager.service"
23
Patrick Williamsaf6d09d2016-08-15 15:52:09 -050024# Since base_do_compile finds a makefile (from networkd) it tries to
25# compile. Short-circuit that because we just need to copy a python
26# file in this package.
27do_compile() {
28 :
29}
30
Brad Bishopa6a1ae02016-09-06 21:28:21 -040031do_install_append() {
Adriana Kobylakf1cd2b52016-02-11 16:31:21 -060032echo "***installing $INSTALL_NAME"
Hariharasubramanian R5c3fd8a2016-02-10 13:48:33 -060033 install -d ${D}/${sbindir}
Adriana Kobylakf1cd2b52016-02-11 16:31:21 -060034 install ${S}/${INSTALL_NAME} ${D}/${sbindir}/obmc-phosphor-userd
Hariharasubramanian R5c3fd8a2016-02-10 13:48:33 -060035}
36