[PATCH openbmc 7/9] Add recipe for host IPMI DBUS to BT
Patrick Williams
patrick at stwcx.xyz
Tue Oct 20 10:01:57 AEDT 2015
On Mon, Oct 19, 2015 at 07:56:43AM -0500, OpenBMC Patches wrote:
> From: Brad Bishop <bradleyb at us.ibm.com>
>
> ---
> .../common/recipes-phosphor/host-ipmid/host-ipmi-bt.bb | 17 +++++++++++++++++
> .../host-ipmid/host-ipmi-bt/host-ipmi-bt.service | 8 ++++++++
> 2 files changed, 25 insertions(+)
> create mode 100644 meta-phosphor/common/recipes-phosphor/host-ipmid/host-ipmi-bt.bb
> create mode 100644 meta-phosphor/common/recipes-phosphor/host-ipmid/host-ipmi-bt/host-ipmi-bt.service
>
> diff --git a/meta-phosphor/common/recipes-phosphor/host-ipmid/host-ipmi-bt.bb b/meta-phosphor/common/recipes-phosphor/host-ipmid/host-ipmi-bt.bb
> new file mode 100644
> index 0000000..830f754
> --- /dev/null
> +++ b/meta-phosphor/common/recipes-phosphor/host-ipmid/host-ipmi-bt.bb
> @@ -0,0 +1,17 @@
> +SUMMARY = "Phosphor OpenBMC BT to DBUS"
> +DESCRIPTION = "Phosphor OpenBMC BT to DBUS."
> +PR = "r1"
> +
> +RDEPENDS_${PN} += "python-subprocess"
> +
> +SYSTEMD_SERVICE_${PN} = "host-ipmi-bt.service"
> +
> +inherit obmc-phosphor-pydbus-service
> +inherit obmc-phosphor-host-ipmi-hw
> +
> +S = "${WORKDIR}/git"
> +SRC_URI += "git://github.com/openbmc/skeleton.git;subpath=bin;destsuffix=git"
> +SRCREV="${AUTOREV}"
> +
> +SCRIPT_NAME = "ipmid.py"
> +INSTALL_NAME = "host-ipmi-bt"
> diff --git a/meta-phosphor/common/recipes-phosphor/host-ipmid/host-ipmi-bt/host-ipmi-bt.service b/meta-phosphor/common/recipes-phosphor/host-ipmid/host-ipmi-bt/host-ipmi-bt.service
> new file mode 100644
> index 0000000..dfc0416
> --- /dev/null
> +++ b/meta-phosphor/common/recipes-phosphor/host-ipmid/host-ipmi-bt/host-ipmi-bt.service
> @@ -0,0 +1,8 @@
> +[Unit]
> +Description=Phosphor OpenBMC BT to DBUS
> +
> +[Service]
> +ExecStart=/usr/sbin/host-ipmi-bt
> +
> +[Install]
> +WantedBy=multi-user.target
> --
> 2.6.0
>
>
> _______________________________________________
> openbmc mailing list
> openbmc at lists.ozlabs.org
> https://lists.ozlabs.org/listinfo/openbmc
Do we need to start specifying the dbus object provide / require
statements in the systemd service files? The two IPMI processes are
tied together by the objects being provided and I don't think there is
anything here to show that dependency relationship.
--
Patrick Williams
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20151019/2128c7b8/attachment.sig>
More information about the openbmc
mailing list