[PATCH openbmc] Updating network and user recipes.

OpenBMC Patches openbmc-patches at stwcx.xyz
Thu Feb 11 07:00:31 AEDT 2016


From: Hariharasubramanian R <hramasub at in.ibm.com>

---
 .../common/recipes-phosphor/network/network.bb      |  2 +-
 meta-phosphor/common/recipes-phosphor/user/user.bb  | 21 +++++++++++++++++++++
 .../common/recipes-phosphor/user/user/user.service  | 10 ++++++++++
 3 files changed, 32 insertions(+), 1 deletion(-)
 create mode 100644 meta-phosphor/common/recipes-phosphor/user/user.bb
 create mode 100644 meta-phosphor/common/recipes-phosphor/user/user/user.service

diff --git a/meta-phosphor/common/recipes-phosphor/network/network.bb b/meta-phosphor/common/recipes-phosphor/network/network.bb
index fc589ef..55bc627 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 0000000..a68766c
--- /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 0000000..8c87a5b
--- /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
-- 
2.7.1




More information about the openbmc mailing list