diff options
Diffstat (limited to 'meta/recipes-connectivity/kea/files/fix_pid_keactrl.patch')
-rw-r--r-- | meta/recipes-connectivity/kea/files/fix_pid_keactrl.patch | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/meta/recipes-connectivity/kea/files/fix_pid_keactrl.patch b/meta/recipes-connectivity/kea/files/fix_pid_keactrl.patch index 63a6a2805b..2f5a217d3f 100644 --- a/meta/recipes-connectivity/kea/files/fix_pid_keactrl.patch +++ b/meta/recipes-connectivity/kea/files/fix_pid_keactrl.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From c878a356712606549f7f188b62f7d1cae08a176e Mon Sep 17 00:00:00 2001 | 1 | From f5125725e4e2e250ccc78a17a8b77431100e7c15 Mon Sep 17 00:00:00 2001 |
2 | From: Armin kuster <akuster808@gmail.com> | 2 | From: Armin kuster <akuster808@gmail.com> |
3 | Date: Wed, 14 Oct 2020 22:48:31 -0700 | 3 | Date: Wed, 14 Oct 2020 22:48:31 -0700 |
4 | Subject: [PATCH] Busybox does not support ps -p so use pgrep | 4 | Subject: [PATCH] Busybox does not support ps -p so use pgrep |
@@ -8,15 +8,18 @@ Based on changes from Diego Sueiro <Diego.Sueiro@arm.com> | |||
8 | 8 | ||
9 | Signed-off-by: Armin kuster <akuster808@gmail.com> | 9 | Signed-off-by: Armin kuster <akuster808@gmail.com> |
10 | 10 | ||
11 | Refresh to apply on top of 2.6.1. | ||
12 | |||
13 | Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com> | ||
11 | --- | 14 | --- |
12 | src/bin/keactrl/keactrl.in | 4 ++-- | 15 | src/bin/keactrl/keactrl.in | 4 ++-- |
13 | 1 file changed, 2 insertions(+), 2 deletions(-) | 16 | 1 file changed, 2 insertions(+), 2 deletions(-) |
14 | 17 | ||
15 | diff --git a/src/bin/keactrl/keactrl.in b/src/bin/keactrl/keactrl.in | 18 | diff --git a/src/bin/keactrl/keactrl.in b/src/bin/keactrl/keactrl.in |
16 | index 450e997..c353ca9 100644 | 19 | index cccfdac303..20ae2e6ec5 100644 |
17 | --- a/src/bin/keactrl/keactrl.in | 20 | --- a/src/bin/keactrl/keactrl.in |
18 | +++ b/src/bin/keactrl/keactrl.in | 21 | +++ b/src/bin/keactrl/keactrl.in |
19 | @@ -149,8 +149,8 @@ check_running() { | 22 | @@ -146,8 +146,8 @@ check_running() { |
20 | # Get the PID from the PID file (if it exists) | 23 | # Get the PID from the PID file (if it exists) |
21 | get_pid_from_file "${proc_name}" | 24 | get_pid_from_file "${proc_name}" |
22 | if [ ${_pid} -gt 0 ]; then | 25 | if [ ${_pid} -gt 0 ]; then |
@@ -27,3 +30,6 @@ index 450e997..c353ca9 100644 | |||
27 | # No error, so PID IS ALIVE | 30 | # No error, so PID IS ALIVE |
28 | _running=1 | 31 | _running=1 |
29 | fi | 32 | fi |
33 | -- | ||
34 | 2.39.2 | ||
35 | |||