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 | |
| 6 | inherit obmc-phosphor-license |
Adriana Kobylak | f1cd2b5 | 2016-02-11 16:31:21 -0600 | [diff] [blame] | 7 | inherit obmc-phosphor-user-mgmt |
Hariharasubramanian R | 5c3fd8a | 2016-02-10 13:48:33 -0600 | [diff] [blame] | 8 | inherit obmc-phosphor-systemd |
| 9 | |
| 10 | RDEPENDS_${PN} += "python-dbus python-pygobject python-pexpect" |
| 11 | |
| 12 | SRC_URI += "git://github.com/openbmc/phosphor-networkd" |
| 13 | |
Patrick Williams | 2601d72 | 2016-09-12 13:50:07 -0500 | [diff] [blame] | 14 | SRCREV = "15d498e2568b6e104de75e7423caab0c9a487485" |
Hariharasubramanian R | 5c3fd8a | 2016-02-10 13:48:33 -0600 | [diff] [blame] | 15 | |
| 16 | S = "${WORKDIR}/git" |
Adriana Kobylak | f1cd2b5 | 2016-02-11 16:31:21 -0600 | [diff] [blame] | 17 | INSTALL_NAME = "userman.py" |
Hariharasubramanian R | 5c3fd8a | 2016-02-10 13:48:33 -0600 | [diff] [blame] | 18 | |
Patrick Williams | af6d09d | 2016-08-15 15:52:09 -0500 | [diff] [blame] | 19 | # Since base_do_compile finds a makefile (from networkd) it tries to |
| 20 | # compile. Short-circuit that because we just need to copy a python |
| 21 | # file in this package. |
| 22 | do_compile() { |
| 23 | : |
| 24 | } |
| 25 | |
Hariharasubramanian R | 5c3fd8a | 2016-02-10 13:48:33 -0600 | [diff] [blame] | 26 | do_install() { |
Adriana Kobylak | f1cd2b5 | 2016-02-11 16:31:21 -0600 | [diff] [blame] | 27 | echo "***installing $INSTALL_NAME" |
Hariharasubramanian R | 5c3fd8a | 2016-02-10 13:48:33 -0600 | [diff] [blame] | 28 | install -d ${D}/${sbindir} |
Adriana Kobylak | f1cd2b5 | 2016-02-11 16:31:21 -0600 | [diff] [blame] | 29 | install ${S}/${INSTALL_NAME} ${D}/${sbindir}/obmc-phosphor-userd |
Hariharasubramanian R | 5c3fd8a | 2016-02-10 13:48:33 -0600 | [diff] [blame] | 30 | } |
| 31 | |