diff options
Diffstat (limited to 'meta/recipes-core/systemd/systemd')
-rw-r--r-- | meta/recipes-core/systemd/systemd/0001-core-device.c-Change-the-default-device-timeout-to-2.patch | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/meta/recipes-core/systemd/systemd/0001-core-device.c-Change-the-default-device-timeout-to-2.patch b/meta/recipes-core/systemd/systemd/0001-core-device.c-Change-the-default-device-timeout-to-2.patch deleted file mode 100644 index fd7bf3fcf6..0000000000 --- a/meta/recipes-core/systemd/systemd/0001-core-device.c-Change-the-default-device-timeout-to-2.patch +++ /dev/null | |||
@@ -1,35 +0,0 @@ | |||
1 | From 2925c0c3b6ce4056622b86c1c61ee14add430790 Mon Sep 17 00:00:00 2001 | ||
2 | From: Chen Qi <Qi.Chen@windriver.com> | ||
3 | Date: Thu, 28 Jun 2018 10:56:29 +0800 | ||
4 | Subject: [PATCH] core/device.c: Change the default device timeout to 240 sec. | ||
5 | MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 | ||
6 | Content-Transfer-Encoding: 8bit | ||
7 | MIME-Version: 1.0 | ||
8 | Content-Type: text/plain; charset=UTF-8 | ||
9 | Content-Transfer-Encoding: 8bit | ||
10 | |||
11 | Upstream-Status: Inappropriate [Specific case QEMU/AB] | ||
12 | |||
13 | Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com> | ||
14 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
15 | Signed-off-by: Chen Qi <Qi.Chen@windriver.com> | ||
16 | --- | ||
17 | src/core/device.c | 2 +- | ||
18 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
19 | |||
20 | diff --git a/src/core/device.c b/src/core/device.c | ||
21 | index a2d00a0fb..f26e55ebb 100644 | ||
22 | --- a/src/core/device.c | ||
23 | +++ b/src/core/device.c | ||
24 | @@ -95,7 +95,7 @@ static void device_init(Unit *u) { | ||
25 | * indefinitely for plugged in devices, something which cannot | ||
26 | * happen for the other units since their operations time out | ||
27 | * anyway. */ | ||
28 | - u->job_running_timeout = u->manager->default_timeout_start_usec; | ||
29 | + u->job_running_timeout = (240 * USEC_PER_SEC); | ||
30 | |||
31 | u->ignore_on_isolate = true; | ||
32 | |||
33 | -- | ||
34 | 2.11.0 | ||
35 | |||