summaryrefslogtreecommitdiffstats
path: root/meta-phosphor/common
diff options
context:
space:
mode:
Diffstat (limited to 'meta-phosphor/common')
-rw-r--r--meta-phosphor/common/recipes-phosphor/network/network.bb2
-rw-r--r--meta-phosphor/common/recipes-phosphor/user/user.bb21
-rw-r--r--meta-phosphor/common/recipes-phosphor/user/user/user.service10
3 files changed, 32 insertions, 1 deletions
diff --git a/meta-phosphor/common/recipes-phosphor/network/network.bb b/meta-phosphor/common/recipes-phosphor/network/network.bb
index fc589ef03..55bc627e0 100644
--- a/meta-phosphor/common/recipes-phosphor/network/network.bb
+++ b/meta-phosphor/common/recipes-phosphor/network/network.bb
@@ -10,7 +10,7 @@ RDEPENDS_${PN} += "python-dbus python-pygobject"
SRC_URI += "git://github.com/openbmc/phosphor-networkd"
-SRCREV = "1e1fe01bb7c1b3cebbe484f83b1729be331d3c37"
+SRCREV = "9f804290dd0bf200a1ba28e107eae55bdb4076da"
S = "${WORKDIR}/git"
diff --git a/meta-phosphor/common/recipes-phosphor/user/user.bb b/meta-phosphor/common/recipes-phosphor/user/user.bb
new file mode 100644
index 000000000..a68766ce0
--- /dev/null
+++ b/meta-phosphor/common/recipes-phosphor/user/user.bb
@@ -0,0 +1,21 @@
+SUMMARY = "User DBUS object"
+DESCRIPTION = "User DBUS object"
+HOMEPAGE = "http://github.com/openbmc/phosphor-networkd"
+PR = "r1"
+
+inherit obmc-phosphor-license
+inherit obmc-phosphor-systemd
+
+RDEPENDS_${PN} += "python-dbus python-pygobject python-pexpect"
+
+SRC_URI += "git://github.com/openbmc/phosphor-networkd"
+
+SRCREV = "9f804290dd0bf200a1ba28e107eae55bdb4076da"
+
+S = "${WORKDIR}/git"
+
+do_install() {
+ install -d ${D}/${sbindir}
+ install ${S}/userman.py ${D}/${sbindir}
+}
+
diff --git a/meta-phosphor/common/recipes-phosphor/user/user/user.service b/meta-phosphor/common/recipes-phosphor/user/user/user.service
new file mode 100644
index 000000000..8c87a5b3a
--- /dev/null
+++ b/meta-phosphor/common/recipes-phosphor/user/user/user.service
@@ -0,0 +1,10 @@
+[Unit]
+Description=User DBUS object
+Requires=skeleton.service
+After=skeleton.service
+
+[Service]
+ExecStart=/usr/sbin/userman.py
+
+[Install]
+WantedBy=multi-user.target
OpenPOWER on IntegriCloud