diff options
author | Patrick Venture <venture@google.com> | 2019-01-07 19:47:42 +0300 |
---|---|---|
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2019-02-14 20:27:13 +0300 |
commit | b49077c0d47d24ee31638add990c684125ffbe3d (patch) | |
tree | 0fea10cd45f12670866d75256f28d12cac940ed2 /meta-phosphor/recipes-phosphor/network/network_git.bb | |
parent | 35245de96c21fa9b0f291e9f664fd8c53ba269fd (diff) | |
download | openbmc-b49077c0d47d24ee31638add990c684125ffbe3d.tar.xz |
meta-phosphor: drop service from network recipe
Drop the service file from the network recipe and use the one in the
source repository.
Patrick Venture (2):
build: drop duplicate LT_INIT line from configure_ac
move service file, dbus conf into repo
(From meta-phosphor rev: 58dbbcf8c4b8a3cbb09965b7cf54d744f05e3243)
Change-Id: I1921750cacdb158c05286fb02c75fcdf595a9536
Signed-off-by: Patrick Venture <venture@google.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'meta-phosphor/recipes-phosphor/network/network_git.bb')
-rw-r--r-- | meta-phosphor/recipes-phosphor/network/network_git.bb | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/meta-phosphor/recipes-phosphor/network/network_git.bb b/meta-phosphor/recipes-phosphor/network/network_git.bb index aa49cabc2..3d80c7e6f 100644 --- a/meta-phosphor/recipes-phosphor/network/network_git.bb +++ b/meta-phosphor/recipes-phosphor/network/network_git.bb @@ -8,10 +8,9 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=fa818a259cbed7ce8bc2a22d35a464fc" inherit autotools pkgconfig inherit pythonnative -inherit obmc-phosphor-dbus-service inherit phosphor-networkd-rev +inherit systemd -DBUS_SERVICE_${PN} += "xyz.openbmc_project.Network.service" DEPENDS += "systemd" DEPENDS += "autoconf-archive-native" @@ -28,3 +27,12 @@ RDEPENDS_${PN} += "libnl" RDEPENDS_${PN} += "libnl-genl" S = "${WORKDIR}/git" + +SERVICE_FILE = "xyz.openbmc_project.Network.service" +SYSTEMD_PACKAGES = "${PN}" +SYSTEMD_SERVICE_${PN} += "${SERVICE_FILE}" +SYSTEMD_DEFAULT_TARGET ?= "obmc-standby.target" + +EXTRA_OECONF = " \ + SYSTEMD_TARGET="${SYSTEMD_DEFAULT_TARGET}" \ +" |