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 |
Hariharasubramanian R | 5c3fd8a | 2016-02-10 13:48:33 -0600 | [diff] [blame] | 9 | |
Brad Bishop | a715681 | 2016-09-06 22:02:03 -0400 | [diff] [blame] | 10 | PROVIDES += "virtual/obmc-user-mgmt" |
| 11 | RPROVIDES_${PN} += "virtual-obmc-user-mgmt" |
| 12 | |
Brad Bishop | 5fec9ca | 2016-09-13 22:51:50 -0400 | [diff] [blame] | 13 | RDEPENDS_${PN} += " \ |
| 14 | python-dbus \ |
| 15 | python-pygobject \ |
| 16 | python-subprocess \ |
| 17 | python-pexpect" |
Hariharasubramanian R | 5c3fd8a | 2016-02-10 13:48:33 -0600 | [diff] [blame] | 18 | |
| 19 | SRC_URI += "git://github.com/openbmc/phosphor-networkd" |
| 20 | |
Patrick Williams | 257e9f6 | 2017-03-09 06:00:04 -0600 | [diff] [blame] | 21 | SRCREV = "ec01f6e0ebf62949762434c07b5cb13630286df6" |
Hariharasubramanian R | 5c3fd8a | 2016-02-10 13:48:33 -0600 | [diff] [blame] | 22 | |
| 23 | S = "${WORKDIR}/git" |
Adriana Kobylak | f1cd2b5 | 2016-02-11 16:31:21 -0600 | [diff] [blame] | 24 | INSTALL_NAME = "userman.py" |
Hariharasubramanian R | 5c3fd8a | 2016-02-10 13:48:33 -0600 | [diff] [blame] | 25 | |
Brad Bishop | a6a1ae0 | 2016-09-06 21:28:21 -0400 | [diff] [blame] | 26 | DBUS_SERVICE_${PN} += "org.openbmc.UserManager.service" |
| 27 | |
Patrick Williams | af6d09d | 2016-08-15 15:52:09 -0500 | [diff] [blame] | 28 | # 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. |
| 31 | do_compile() { |
| 32 | : |
| 33 | } |
| 34 | |
Brad Bishop | a6a1ae0 | 2016-09-06 21:28:21 -0400 | [diff] [blame] | 35 | do_install_append() { |
Adriana Kobylak | f1cd2b5 | 2016-02-11 16:31:21 -0600 | [diff] [blame] | 36 | echo "***installing $INSTALL_NAME" |
Hariharasubramanian R | 5c3fd8a | 2016-02-10 13:48:33 -0600 | [diff] [blame] | 37 | install -d ${D}/${sbindir} |
Adriana Kobylak | f1cd2b5 | 2016-02-11 16:31:21 -0600 | [diff] [blame] | 38 | install ${S}/${INSTALL_NAME} ${D}/${sbindir}/obmc-phosphor-userd |
Hariharasubramanian R | 5c3fd8a | 2016-02-10 13:48:33 -0600 | [diff] [blame] | 39 | } |
| 40 | |