summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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
-rw-r--r--meta/recipes-core/sysvinit/sysvinit_3.02.bb (renamed from meta/recipes-core/sysvinit/sysvinit_3.01.bb)3
3 files changed, 35 insertions, 6 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
diff --git a/meta/recipes-core/sysvinit/sysvinit_3.01.bb b/meta/recipes-core/sysvinit/sysvinit_3.02.bb
index 844f5f0175..cfe9d0b597 100644
--- a/meta/recipes-core/sysvinit/sysvinit_3.01.bb
+++ b/meta/recipes-core/sysvinit/sysvinit_3.02.bb
@@ -20,8 +20,9 @@ SRC_URI = "${SAVANNAH_GNU_MIRROR}/sysvinit/sysvinit-${PV}.tar.xz \
20 file://rcS \ 20 file://rcS \
21 file://bootlogd.init \ 21 file://bootlogd.init \
22 file://01_bootlogd \ 22 file://01_bootlogd \
23 file://0001-Fixed-compile-error-on-GNU-Hurd.patch \
23 " 24 "
24SRC_URI[sha256sum] = "68b11a4772cdacce5fb65a4cbead324a2ce3999d138b4ff61dc2d59e57ef5793" 25SRC_URI[sha256sum] = "4ca03ffdbefb5a99a60b94a021693686c2b498a08ff8aa4e859821fa7c39a792"
25 26
26S = "${WORKDIR}/sysvinit-${PV}" 27S = "${WORKDIR}/sysvinit-${PV}"
27 28