diff options
author | dheerajpdsk <p.dheeraj.srujan.kumar@intel.com> | 2022-05-06 12:32:30 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-06 12:32:30 +0300 |
commit | 0945170f93cc0c101bf01739f41136c2f05af570 (patch) | |
tree | 4899512512abc7e1529391ae48337ec8b40acced /meta-openbmc-mods/meta-common/recipes-core/systemd | |
parent | ca8d06bc610af08c2d3efc487aa9519989b743e6 (diff) | |
parent | 9cc183a531e1e309a99784f65b15c0fb1a18ddef (diff) | |
download | openbmc-0945170f93cc0c101bf01739f41136c2f05af570.tar.xz |
Merge pull request #81 from Intel-BMC/update1-0.91-67
Update to internal 1-0.91-67
Diffstat (limited to 'meta-openbmc-mods/meta-common/recipes-core/systemd')
2 files changed, 27 insertions, 0 deletions
diff --git a/meta-openbmc-mods/meta-common/recipes-core/systemd/systemd/0003-Added-timeout-to-systemd-networkd-wait-online.servic.patch b/meta-openbmc-mods/meta-common/recipes-core/systemd/systemd/0003-Added-timeout-to-systemd-networkd-wait-online.servic.patch new file mode 100644 index 000000000..5bdaa8e1d --- /dev/null +++ b/meta-openbmc-mods/meta-common/recipes-core/systemd/systemd/0003-Added-timeout-to-systemd-networkd-wait-online.servic.patch @@ -0,0 +1,26 @@ +From 3f651f6d9d9f6c07c852a94966d40f2390c528b0 Mon Sep 17 00:00:00 2001 +From: Gokul Sanker V G <gokul.sanker.v.g@intel.com> +Date: Wed, 26 Jan 2022 17:35:27 +0530 +Subject: [PATCH] Added timeout to systemd-networkd-wait-online.service + +Signed-off-by: Gokul Sanker V G <gokul.sanker.v.g@intel.com> +--- + units/systemd-networkd-wait-online.service.in | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/units/systemd-networkd-wait-online.service.in b/units/systemd-networkd-wait-online.service.in +index 10d8b08c8e..04abd55ef4 100644 +--- a/units/systemd-networkd-wait-online.service.in ++++ b/units/systemd-networkd-wait-online.service.in +@@ -18,7 +18,7 @@ Before=network-online.target shutdown.target + + [Service] + Type=oneshot +-ExecStart={{ROOTLIBEXECDIR}}/systemd-networkd-wait-online ++ExecStart={{ROOTLIBEXECDIR}}/systemd-networkd-wait-online --timeout=60 + RemainAfterExit=yes + + [Install] +-- +2.17.1 + diff --git a/meta-openbmc-mods/meta-common/recipes-core/systemd/systemd_%.bbappend b/meta-openbmc-mods/meta-common/recipes-core/systemd/systemd_%.bbappend index 2eb5330d8..6b7cc8a0d 100644 --- a/meta-openbmc-mods/meta-common/recipes-core/systemd/systemd_%.bbappend +++ b/meta-openbmc-mods/meta-common/recipes-core/systemd/systemd_%.bbappend @@ -3,6 +3,7 @@ FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:" SRC_URI += "file://0002-Add-event-log-for-system-time-synchronization.patch \ + file://0003-Added-timeout-to-systemd-networkd-wait-online.servic.patch \ " # We don't support loadable modules in kernel config |