diff options
author | Tom Joseph <tomjoseph@in.ibm.com> | 2017-01-16 14:13:05 +0300 |
---|---|---|
committer | Patrick Williams <patrick@stwcx.xyz> | 2017-02-01 01:49:15 +0300 |
commit | 7b82774f17a14a9496a16b8c5d27d1174320201a (patch) | |
tree | b6980a2ccf75b260a5f984a8b32e92169d716ac3 /meta-phosphor | |
parent | 9877b7319eec5edb0205b34d1aba4f8f878a970c (diff) | |
download | openbmc-7b82774f17a14a9496a16b8c5d27d1174320201a.tar.xz |
Add recipe for phosphor-net-ipmid repository
Resolves openbmc/openbmc#430
Change-Id: Id958eab2822858fe6241830791380af1a9fc1052
Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
Diffstat (limited to 'meta-phosphor')
5 files changed, 37 insertions, 0 deletions
diff --git a/meta-phosphor/classes/obmc-phosphor-image.bbclass b/meta-phosphor/classes/obmc-phosphor-image.bbclass index d993bb102..32b731709 100644 --- a/meta-phosphor/classes/obmc-phosphor-image.bbclass +++ b/meta-phosphor/classes/obmc-phosphor-image.bbclass @@ -31,6 +31,7 @@ FEATURE_PACKAGES_obmc-host-ctl ?= "${@cf_enabled('obmc-host-ctl', 'virtual-obmc- FEATURE_PACKAGES_obmc-host-ipmi ?= "${@cf_enabled('obmc-host-ipmi', 'virtual-obmc-host-ipmi-hw', d)}" FEATURE_PACKAGES_obmc-host-state-mgmt ?= "${@cf_enabled('obmc-host-state-mgmt', 'virtual-obmc-host-state-mgmt', d)}" FEATURE_PACKAGES_obmc-logging-mgmt ?= "${@df_enabled('obmc-logging-mgmt', 'virtual-obmc-logging-mgmt', d)}" +FEATURE_PACKAGES_obmc-net-ipmi ?= "${@df_enabled('obmc-net-ipmi', 'virtual-obmc-net-ipmi', d)}" FEATURE_PACKAGES_obmc-sensor-mgmt ?= "${@cf_enabled('obmc-phosphor-sensor-mgmt', 'virtual-obmc-sensor-mgmt', d)}" FEATURE_PACKAGES_obmc-settings-mgmt ?= "${@df_enabled('obmc-settings-mgmt', 'virtual-obmc-settings-mgmt', d)}" FEATURE_PACKAGES_obmc-system-mgmt ?= "${@df_enabled('obmc-phosphor-system-mgmt', 'virtual-obmc-system-mgmt', d)}" @@ -48,6 +49,7 @@ IMAGE_FEATURES += " \ obmc-host-ipmi \ obmc-host-state-mgmt \ obmc-logging-mgmt \ + obmc-net-ipmi \ obmc-sensor-mgmt \ obmc-settings-mgmt \ obmc-system-mgmt \ diff --git a/meta-phosphor/common/recipes-phosphor/net-ipmid/phosphor-net-ipmid.bb b/meta-phosphor/common/recipes-phosphor/net-ipmid/phosphor-net-ipmid.bb new file mode 100644 index 000000000..73319576f --- /dev/null +++ b/meta-phosphor/common/recipes-phosphor/net-ipmid/phosphor-net-ipmid.bb @@ -0,0 +1,24 @@ +SUMMARY = "Phosphor Network IPMI Daemon" +DESCRIPTION = "Daemon to support IPMI protocol over network" +HOMEPAGE = "https://github.com/openbmc/phosphor-net-ipmid" +PR = "r1" + +inherit autotools pkgconfig +inherit obmc-phosphor-license +inherit obmc-phosphor-systemd + +DEPENDS += "autoconf-archive-native" +DEPENDS += "phosphor-mapper" +DEPENDS += "systemd" +DEPENDS += "phosphor-ipmi-host" +RDEPENDS_${PN} += "libmapper" +RDEPENDS_${PN} += "libsystemd" +PROVIDES += "virtual/obmc-net-ipmi" +RPROVIDES_${PN} += "virtual-obmc-net-ipmi" + +SRC_URI += "git://github.com/openbmc/phosphor-net-ipmid" +SRCREV = "f744494864ef9292f8746922a5bf4bbe164d6430" + +S = "${WORKDIR}/git" + +SYSTEMD_SERVICE_${PN} = "${PN}.service" diff --git a/meta-phosphor/common/recipes-phosphor/net-ipmid/phosphor-net-ipmid/phosphor-net-ipmid.service b/meta-phosphor/common/recipes-phosphor/net-ipmid/phosphor-net-ipmid/phosphor-net-ipmid.service new file mode 100644 index 000000000..5a2ecbd8f --- /dev/null +++ b/meta-phosphor/common/recipes-phosphor/net-ipmid/phosphor-net-ipmid/phosphor-net-ipmid.service @@ -0,0 +1,9 @@ +[Unit] +Description=Network IPMI daemon + +[Service] +ExecStart={sbindir}/netipmid +Restart=always + +[Install] +WantedBy={SYSTEMD_DEFAULT_TARGET} diff --git a/meta-phosphor/conf/distro/include/phosphor-defaults.inc b/meta-phosphor/conf/distro/include/phosphor-defaults.inc index 54b98bc6b..1740c7e5f 100644 --- a/meta-phosphor/conf/distro/include/phosphor-defaults.inc +++ b/meta-phosphor/conf/distro/include/phosphor-defaults.inc @@ -17,6 +17,7 @@ PREFERRED_PROVIDER_virtual/obmc-flash-mgmt ?= "obmc-phosphor-flashd" PREFERRED_PROVIDER_virtual/obmc-host-ipmi-hw ?= "phosphor-ipmi-hw-example" PREFERRED_PROVIDER_virtual/obmc-host-state-mgmt ?= "phosphor-state-manager" PREFERRED_PROVIDER_virtual/obmc-logging-mgmt ?= "phosphor-logging" +PREFERRED_PROVIDER_virtual/obmc-net-ipmi ?= "phosphor-net-ipmid" PREFERRED_PROVIDER_virtual/obmc-sensor-mgmt ?= "obmc-phosphor-sensord" PREFERRED_PROVIDER_virtual/obmc-settings-mgmt ?= "phosphor-settings" PREFERRED_PROVIDER_virtual/obmc-system-mgmt ?= "obmc-phosphor-sysd" diff --git a/meta-phosphor/conf/distro/openbmc-phosphor.conf b/meta-phosphor/conf/distro/openbmc-phosphor.conf index b177b9e10..f18caf7aa 100644 --- a/meta-phosphor/conf/distro/openbmc-phosphor.conf +++ b/meta-phosphor/conf/distro/openbmc-phosphor.conf @@ -37,6 +37,7 @@ DISTRO_FEATURES = "\ obmc-host-state-mgmt \ obmc-chassis-state-mgmt \ obmc-bmc-state-mgmt \ + obmc-net-ipmi \ ${DISTRO_FEATURES_LIBC} \ " |