summaryrefslogtreecommitdiffstats
path: root/meta-phosphor/common/recipes-phosphor
diff options
context:
space:
mode:
authorRatan Gupta <ratagupt@in.ibm.com>2017-07-06 21:09:14 +0530
committerRatan Gupta <ratagupt@in.ibm.com>2017-07-12 20:03:11 +0530
commitd3c61648c492f7ea070ba4111478759bed9c965e (patch)
tree12f641a66fcbd71e65eb22f4de0d5ef6fde7c036 /meta-phosphor/common/recipes-phosphor
parent3ce1bd2cc554ee3287b03dccf2c76e5b39d562a7 (diff)
downloadtalos-openbmc-d3c61648c492f7ea070ba4111478759bed9c965e.tar.gz
talos-openbmc-d3c61648c492f7ea070ba4111478759bed9c965e.zip
Add changes in the recipe for the new network manager
Change-Id: I03382dbcbd350d7e3a8991633b4548658e4e4b1e Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
Diffstat (limited to 'meta-phosphor/common/recipes-phosphor')
-rw-r--r--meta-phosphor/common/recipes-phosphor/network/network.bb2
-rw-r--r--meta-phosphor/common/recipes-phosphor/network/network/xyz.openbmc_project.Network.service12
-rw-r--r--meta-phosphor/common/recipes-phosphor/packagegroups/packagegroup-obmc-apps.bb6
3 files changed, 20 insertions, 0 deletions
diff --git a/meta-phosphor/common/recipes-phosphor/network/network.bb b/meta-phosphor/common/recipes-phosphor/network/network.bb
index 404bdaa3f..c8e49ed99 100644
--- a/meta-phosphor/common/recipes-phosphor/network/network.bb
+++ b/meta-phosphor/common/recipes-phosphor/network/network.bb
@@ -10,6 +10,8 @@ inherit obmc-phosphor-dbus-service
inherit phosphor-networkd-rev
DBUS_SERVICE_${PN} += "org.openbmc.NetworkManager.service"
+DBUS_SERVICE_${PN} += "xyz.openbmc_project.Network.service"
+
SYSTEMD_SERVICE_${PN} += "network-update-dns.service"
DEPENDS += "systemd"
diff --git a/meta-phosphor/common/recipes-phosphor/network/network/xyz.openbmc_project.Network.service b/meta-phosphor/common/recipes-phosphor/network/network/xyz.openbmc_project.Network.service
new file mode 100644
index 000000000..009efc71d
--- /dev/null
+++ b/meta-phosphor/common/recipes-phosphor/network/network/xyz.openbmc_project.Network.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=Phosphor Network Manager
+
+[Service]
+ExecStart={sbindir}/phosphor-network-manager
+Restart=always
+Type=dbus
+BusName={BUSNAME}
+
+[Install]
+WantedBy={SYSTEMD_DEFAULT_TARGET}
+
diff --git a/meta-phosphor/common/recipes-phosphor/packagegroups/packagegroup-obmc-apps.bb b/meta-phosphor/common/recipes-phosphor/packagegroups/packagegroup-obmc-apps.bb
index e49674f4c..035270e48 100644
--- a/meta-phosphor/common/recipes-phosphor/packagegroups/packagegroup-obmc-apps.bb
+++ b/meta-phosphor/common/recipes-phosphor/packagegroups/packagegroup-obmc-apps.bb
@@ -20,6 +20,7 @@ PACKAGES = " \
${PN}-host-check-mgmt \
${PN}-debug-collector \
${PN}-settings \
+ ${PN}-network \
"
SUMMARY_${PN}-bmc-state-mgmt = "BMC state management"
@@ -98,3 +99,8 @@ SUMMARY_${PN}-settings = "Settings applications"
RDEPENDS_${PN}-settings = " \
${VIRTUAL-RUNTIME_obmc-settings-mgr} \
"
+
+SUMMARY_${PN}-network = "BMC Network Manager"
+RDEPENDS_${PN}-network = " \
+ ${VIRTUAL-RUNTIME_obmc-network-manager} \
+ "
OpenPOWER on IntegriCloud