Hariharasubramanian R | 5c3fd8a | 2016-02-10 13:48:33 -0600 | [diff] [blame] | 1 | SUMMARY = "User DBUS object" |
| 2 | DESCRIPTION = "User DBUS object" |
| 3 | HOMEPAGE = "http://github.com/openbmc/phosphor-networkd" |
| 4 | PR = "r1" |
| 5 | |
Brad Bishop | a6a1ae0 | 2016-09-06 21:28:21 -0400 | [diff] [blame] | 6 | inherit allarch |
Hariharasubramanian R | 5c3fd8a | 2016-02-10 13:48:33 -0600 | [diff] [blame] | 7 | inherit obmc-phosphor-license |
Brad Bishop | a6a1ae0 | 2016-09-06 21:28:21 -0400 | [diff] [blame] | 8 | inherit obmc-phosphor-dbus-service |
Patrick Williams | 5afacef | 2017-05-29 22:08:38 -0500 | [diff] [blame^] | 9 | inherit phosphor-networkd-rev |
Hariharasubramanian R | 5c3fd8a | 2016-02-10 13:48:33 -0600 | [diff] [blame] | 10 | |
Brad Bishop | a715681 | 2016-09-06 22:02:03 -0400 | [diff] [blame] | 11 | PROVIDES += "virtual/obmc-user-mgmt" |
| 12 | RPROVIDES_${PN} += "virtual-obmc-user-mgmt" |
| 13 | |
Brad Bishop | 5fec9ca | 2016-09-13 22:51:50 -0400 | [diff] [blame] | 14 | RDEPENDS_${PN} += " \ |
| 15 | python-dbus \ |
| 16 | python-pygobject \ |
| 17 | python-subprocess \ |
| 18 | python-pexpect" |
Hariharasubramanian R | 5c3fd8a | 2016-02-10 13:48:33 -0600 | [diff] [blame] | 19 | |
Hariharasubramanian R | 5c3fd8a | 2016-02-10 13:48:33 -0600 | [diff] [blame] | 20 | S = "${WORKDIR}/git" |
Adriana Kobylak | f1cd2b5 | 2016-02-11 16:31:21 -0600 | [diff] [blame] | 21 | INSTALL_NAME = "userman.py" |
Hariharasubramanian R | 5c3fd8a | 2016-02-10 13:48:33 -0600 | [diff] [blame] | 22 | |
Brad Bishop | a6a1ae0 | 2016-09-06 21:28:21 -0400 | [diff] [blame] | 23 | DBUS_SERVICE_${PN} += "org.openbmc.UserManager.service" |
| 24 | |
Patrick Williams | af6d09d | 2016-08-15 15:52:09 -0500 | [diff] [blame] | 25 | # 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. |
| 28 | do_compile() { |
| 29 | : |
| 30 | } |
| 31 | |
Brad Bishop | a6a1ae0 | 2016-09-06 21:28:21 -0400 | [diff] [blame] | 32 | do_install_append() { |
Adriana Kobylak | f1cd2b5 | 2016-02-11 16:31:21 -0600 | [diff] [blame] | 33 | echo "***installing $INSTALL_NAME" |
Hariharasubramanian R | 5c3fd8a | 2016-02-10 13:48:33 -0600 | [diff] [blame] | 34 | install -d ${D}/${sbindir} |
Adriana Kobylak | f1cd2b5 | 2016-02-11 16:31:21 -0600 | [diff] [blame] | 35 | install ${S}/${INSTALL_NAME} ${D}/${sbindir}/obmc-phosphor-userd |
Hariharasubramanian R | 5c3fd8a | 2016-02-10 13:48:33 -0600 | [diff] [blame] | 36 | } |
| 37 | |