diff options
author | Adriana Kobylak <anoo@us.ibm.com> | 2016-01-30 10:41:48 -0600 |
---|---|---|
committer | Adriana Kobylak <anoo@us.ibm.com> | 2016-02-01 17:39:13 -0600 |
commit | 30ca4fc5e47310155d86dc013957ee82adf32367 (patch) | |
tree | a40f5e5aa289bfc6d9549f0990cf813322fb12f5 | |
parent | 1f96b8d8457d8c2e37d308e84a9660df15417b97 (diff) | |
download | talos-openbmc-30ca4fc5e47310155d86dc013957ee82adf32367.tar.gz talos-openbmc-30ca4fc5e47310155d86dc013957ee82adf32367.zip |
Add network dbus object to openbmc image
Create networkd recipe and service files
Add dependency to networkd to the ipmid recipe
since the upcoming ipmi set/get lan ipmi cmds will
make use of the network dbus object
3 files changed, 32 insertions, 0 deletions
diff --git a/meta-phosphor/common/recipes-phosphor/host-ipmid/host-ipmid.bb b/meta-phosphor/common/recipes-phosphor/host-ipmid/host-ipmid.bb index 174110f84..e74a6dea8 100644 --- a/meta-phosphor/common/recipes-phosphor/host-ipmid/host-ipmid.bb +++ b/meta-phosphor/common/recipes-phosphor/host-ipmid/host-ipmid.bb @@ -15,6 +15,7 @@ inherit obmc-phosphor-c-daemon TARGET_CFLAGS += "-fpic" RDEPENDS_${PN} += "settings" +RDEPENDS_${PN} += "network" SRC_URI += "git://github.com/openbmc/phosphor-host-ipmid" SRCREV = "e90d8bf6a342649dba2fd1589a3cddb3cd051bb1" diff --git a/meta-phosphor/common/recipes-phosphor/network/network.bb b/meta-phosphor/common/recipes-phosphor/network/network.bb new file mode 100644 index 000000000..33e2693f8 --- /dev/null +++ b/meta-phosphor/common/recipes-phosphor/network/network.bb @@ -0,0 +1,21 @@ +SUMMARY = "Network DBUS object" +DESCRIPTION = "Network 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" + +SRC_URI += "git://github.com/openbmc/phosphor-networkd" + +SRCREV = "a657afc9cc76dc6678edb8de9df569f92dd108e1" + +S = "${WORKDIR}/git" + +do_install() { + install -d ${D}/${sbindir} + install ${S}/netman.py ${D}/${sbindir} +} + diff --git a/meta-phosphor/common/recipes-phosphor/network/network/network.service b/meta-phosphor/common/recipes-phosphor/network/network/network.service new file mode 100644 index 000000000..85a44bb95 --- /dev/null +++ b/meta-phosphor/common/recipes-phosphor/network/network/network.service @@ -0,0 +1,10 @@ +[Unit] +Description=Network DBUS object +Requires=skeleton.service +After=skeleton.service + +[Service] +ExecStart=/usr/sbin/netman.py + +[Install] +WantedBy=multi-user.target |