commit | 62b03f275decb85ef3d89a23a26ae2ae5d786462 | [log] [tgz] |
---|---|---|
author | Tom Joseph <tomjoseph@in.ibm.com> | Fri Jan 27 14:11:58 2017 +0530 |
committer | Patrick Williams <patrick@stwcx.xyz> | Tue Jan 31 22:49:21 2017 +0000 |
tree | 0797aef4b5083a4d7c9ff672c24c873fb7fd3eab | |
parent | 7b82774f17a14a9496a16b8c5d27d1174320201a [diff] |
Modify the net-ipmid recipe to support systemd socket activation Resolves openbmc/openbmc#914 Change-Id: I5cb697cbc3b7a33188abe392bef2202b84bcef0c Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
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 index 7331957..3ca80ce 100644 --- a/meta-phosphor/common/recipes-phosphor/net-ipmid/phosphor-net-ipmid.bb +++ b/meta-phosphor/common/recipes-phosphor/net-ipmid/phosphor-net-ipmid.bb
@@ -21,4 +21,7 @@ S = "${WORKDIR}/git" -SYSTEMD_SERVICE_${PN} = "${PN}.service" +SYSTEMD_SERVICE_${PN} = " \ + ${PN}.service \ + ${PN}.socket \ + "
diff --git a/meta-phosphor/common/recipes-phosphor/net-ipmid/phosphor-net-ipmid/phosphor-net-ipmid.socket b/meta-phosphor/common/recipes-phosphor/net-ipmid/phosphor-net-ipmid/phosphor-net-ipmid.socket new file mode 100644 index 0000000..077b780 --- /dev/null +++ b/meta-phosphor/common/recipes-phosphor/net-ipmid/phosphor-net-ipmid/phosphor-net-ipmid.socket
@@ -0,0 +1,6 @@ +[Socket] +ListenDatagram=623 + +[Install] +WantedBy=sockets.target +