blob: 83b70243006667b1a4400bfcb6c3d8abb3b1fd51 [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
Patrick Williams5afacef2017-05-29 22:08:38 -05009inherit phosphor-networkd-rev
Hariharasubramanian R5c3fd8a2016-02-10 13:48:33 -060010
Brad Bishopa7156812016-09-06 22:02:03 -040011PROVIDES += "virtual/obmc-user-mgmt"
12RPROVIDES_${PN} += "virtual-obmc-user-mgmt"
13
Brad Bishop5fec9ca2016-09-13 22:51:50 -040014RDEPENDS_${PN} += " \
15 python-dbus \
16 python-pygobject \
17 python-subprocess \
18 python-pexpect"
Hariharasubramanian R5c3fd8a2016-02-10 13:48:33 -060019
Hariharasubramanian R5c3fd8a2016-02-10 13:48:33 -060020S = "${WORKDIR}/git"
Adriana Kobylakf1cd2b52016-02-11 16:31:21 -060021INSTALL_NAME = "userman.py"
Hariharasubramanian R5c3fd8a2016-02-10 13:48:33 -060022
Brad Bishopa6a1ae02016-09-06 21:28:21 -040023DBUS_SERVICE_${PN} += "org.openbmc.UserManager.service"
24
Patrick Williamsaf6d09d2016-08-15 15:52:09 -050025# Since base_do_compile finds a makefile (from networkd) it tries to
26# compile. Short-circuit that because we just need to copy a python
27# file in this package.
28do_compile() {
29 :
30}
31
Brad Bishopa6a1ae02016-09-06 21:28:21 -040032do_install_append() {
Adriana Kobylakf1cd2b52016-02-11 16:31:21 -060033echo "***installing $INSTALL_NAME"
Hariharasubramanian R5c3fd8a2016-02-10 13:48:33 -060034 install -d ${D}/${sbindir}
Adriana Kobylakf1cd2b52016-02-11 16:31:21 -060035 install ${S}/${INSTALL_NAME} ${D}/${sbindir}/obmc-phosphor-userd
Hariharasubramanian R5c3fd8a2016-02-10 13:48:33 -060036}
37