summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/sysvinit/sysvinit
diff options
context:
space:
mode:
authorwangmy <wangmy@fujitsu.com>2022-04-04 18:38:36 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-04-19 14:14:10 +0100
commitbecb589ead7877c96217e68ee782d20f4c5cdcbb (patch)
tree51ed3a4846eae84dce1a980cd506c65952f1a9a4 /meta/recipes-core/sysvinit/sysvinit
parent1979152eaab713c90ed8972e66ceb889e0871e48 (diff)
downloadpoky-becb589ead7877c96217e68ee782d20f4c5cdcbb.tar.gz
sysvinit: upgrade 3.01 -> 3.02
pidof-add-m-option.patch refreshed for new version. Add 0001-Fixed-compile-error-on-GNU-Hurd.patch to fix compile error on GNU Hurd due to missing MAX_PATH definition. (From OE-Core rev: cd75cb56ef30d68f82ec7406f3529afd163e7f92) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/sysvinit/sysvinit')
-rw-r--r--meta/recipes-core/sysvinit/sysvinit/0001-Fixed-compile-error-on-GNU-Hurd.patch28
-rw-r--r--meta/recipes-core/sysvinit/sysvinit/pidof-add-m-option.patch10
2 files changed, 33 insertions, 5 deletions
diff --git a/meta/recipes-core/sysvinit/sysvinit/0001-Fixed-compile-error-on-GNU-Hurd.patch b/meta/recipes-core/sysvinit/sysvinit/0001-Fixed-compile-error-on-GNU-Hurd.patch
new file mode 100644
index 0000000000..d278a32ec7
--- /dev/null
+++ b/meta/recipes-core/sysvinit/sysvinit/0001-Fixed-compile-error-on-GNU-Hurd.patch
@@ -0,0 +1,28 @@
1From d595594506e6fd2247f7984c276f822ea626434c Mon Sep 17 00:00:00 2001
2From: Wang Mingyu <wangmy@fujitsu.com>
3Date: Thu, 7 Apr 2022 11:57:19 +0900
4Subject: [PATCH] Fixed compile error on GNU Hurd
5
6Fixed compile error on GNU Hurd due to missing MAX_PATH definition.
7
8Upstream-Status: Backport [https://github.com/slicer69/sysvinit/commit/14d8d25269016b26965b428a855dd084cc88994d]
9
10Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
11---
12 src/bootlogd.h | 3 +++
13 1 file changed, 3 insertions(+)
14
15diff --git a/src/bootlogd.h b/src/bootlogd.h
16index b47bc9d..ba17f0c 100644
17--- a/src/bootlogd.h
18+++ b/src/bootlogd.h
19@@ -10,3 +10,6 @@
20 #define FALSE 0
21 #endif
22
23+#ifndef PATH_MAX
24+#define PATH_MAX 2048
25+#endif
26--
272.25.1
28
diff --git a/meta/recipes-core/sysvinit/sysvinit/pidof-add-m-option.patch b/meta/recipes-core/sysvinit/sysvinit/pidof-add-m-option.patch
index 4386e6f832..8ef292ed12 100644
--- a/meta/recipes-core/sysvinit/sysvinit/pidof-add-m-option.patch
+++ b/meta/recipes-core/sysvinit/sysvinit/pidof-add-m-option.patch
@@ -1,4 +1,4 @@
1From 96fb53ef2ccd2580cf0aa565ef1629cb05eae50a Mon Sep 17 00:00:00 2001 1From 0e441712d0e366a0384ff3fa879f5a2d2607c24f Mon Sep 17 00:00:00 2001
2From: Hongxu Jia <hongxu.jia@windriver.com> 2From: Hongxu Jia <hongxu.jia@windriver.com>
3Date: Wed, 24 Jul 2013 17:07:22 +0800 3Date: Wed, 24 Jul 2013 17:07:22 +0800
4Subject: [PATCH] pidof: add -m option 4Subject: [PATCH] pidof: add -m option
@@ -21,10 +21,10 @@ Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
21 2 files changed, 65 insertions(+), 3 deletions(-) 21 2 files changed, 65 insertions(+), 3 deletions(-)
22 22
23diff --git a/man/pidof.8 b/man/pidof.8 23diff --git a/man/pidof.8 b/man/pidof.8
24index 84ed1e4..ac184da 100644 24index 6866cb3..a87d878 100644
25--- a/man/pidof.8 25--- a/man/pidof.8
26+++ b/man/pidof.8 26+++ b/man/pidof.8
27@@ -25,6 +25,7 @@ pidof -- find the process ID of a running program. 27@@ -25,6 +25,7 @@ pidof - find the process ID of a running program
28 .RB [ \-n ] 28 .RB [ \-n ]
29 .RB [ \-x ] 29 .RB [ \-x ]
30 .RB [ \-z ] 30 .RB [ \-z ]
@@ -32,9 +32,9 @@ index 84ed1e4..ac184da 100644
32 .RB [ \-o 32 .RB [ \-o
33 .IR omitpid[,omitpid...] ] 33 .IR omitpid[,omitpid...] ]
34 .RB [ \-o 34 .RB [ \-o
35@@ -79,6 +80,11 @@ is shown. The default separator is a space. 35@@ -77,6 +78,11 @@ is shown. The default separator is a space.
36 Tells \fIpidof\fP to omit processes with that process id. The special 36 Tells \fIpidof\fP to omit processes with that process id. The special
37 pid \fB%PPID\fP can be used to name the parent process of the \fIpidof\fP 37 pid \fB%PPID\fP can be used to name the parent process of the \fBpidof\fP
38 program, in other words the calling shell or shell script. 38 program, in other words the calling shell or shell script.
39+.IP -m 39+.IP -m
40+When used with -o, will also omit any processes that have the same 40+When used with -o, will also omit any processes that have the same