mirror of
https://git.yoctoproject.org/poky
synced 2026-09-19 00:49:33 +02:00
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>
This commit is contained in:
@@ -0,0 +1,28 @@
|
|||||||
|
From d595594506e6fd2247f7984c276f822ea626434c Mon Sep 17 00:00:00 2001
|
||||||
|
From: Wang Mingyu <wangmy@fujitsu.com>
|
||||||
|
Date: Thu, 7 Apr 2022 11:57:19 +0900
|
||||||
|
Subject: [PATCH] Fixed compile error on GNU Hurd
|
||||||
|
|
||||||
|
Fixed compile error on GNU Hurd due to missing MAX_PATH definition.
|
||||||
|
|
||||||
|
Upstream-Status: Backport [https://github.com/slicer69/sysvinit/commit/14d8d25269016b26965b428a855dd084cc88994d]
|
||||||
|
|
||||||
|
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
|
||||||
|
---
|
||||||
|
src/bootlogd.h | 3 +++
|
||||||
|
1 file changed, 3 insertions(+)
|
||||||
|
|
||||||
|
diff --git a/src/bootlogd.h b/src/bootlogd.h
|
||||||
|
index b47bc9d..ba17f0c 100644
|
||||||
|
--- a/src/bootlogd.h
|
||||||
|
+++ b/src/bootlogd.h
|
||||||
|
@@ -10,3 +10,6 @@
|
||||||
|
#define FALSE 0
|
||||||
|
#endif
|
||||||
|
|
||||||
|
+#ifndef PATH_MAX
|
||||||
|
+#define PATH_MAX 2048
|
||||||
|
+#endif
|
||||||
|
--
|
||||||
|
2.25.1
|
||||||
|
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
From 96fb53ef2ccd2580cf0aa565ef1629cb05eae50a Mon Sep 17 00:00:00 2001
|
From 0e441712d0e366a0384ff3fa879f5a2d2607c24f Mon Sep 17 00:00:00 2001
|
||||||
From: Hongxu Jia <hongxu.jia@windriver.com>
|
From: Hongxu Jia <hongxu.jia@windriver.com>
|
||||||
Date: Wed, 24 Jul 2013 17:07:22 +0800
|
Date: Wed, 24 Jul 2013 17:07:22 +0800
|
||||||
Subject: [PATCH] pidof: add -m option
|
Subject: [PATCH] pidof: add -m option
|
||||||
@@ -21,10 +21,10 @@ Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
|
|||||||
2 files changed, 65 insertions(+), 3 deletions(-)
|
2 files changed, 65 insertions(+), 3 deletions(-)
|
||||||
|
|
||||||
diff --git a/man/pidof.8 b/man/pidof.8
|
diff --git a/man/pidof.8 b/man/pidof.8
|
||||||
index 84ed1e4..ac184da 100644
|
index 6866cb3..a87d878 100644
|
||||||
--- a/man/pidof.8
|
--- a/man/pidof.8
|
||||||
+++ b/man/pidof.8
|
+++ b/man/pidof.8
|
||||||
@@ -25,6 +25,7 @@ pidof -- find the process ID of a running program.
|
@@ -25,6 +25,7 @@ pidof - find the process ID of a running program
|
||||||
.RB [ \-n ]
|
.RB [ \-n ]
|
||||||
.RB [ \-x ]
|
.RB [ \-x ]
|
||||||
.RB [ \-z ]
|
.RB [ \-z ]
|
||||||
@@ -32,9 +32,9 @@ index 84ed1e4..ac184da 100644
|
|||||||
.RB [ \-o
|
.RB [ \-o
|
||||||
.IR omitpid[,omitpid...] ]
|
.IR omitpid[,omitpid...] ]
|
||||||
.RB [ \-o
|
.RB [ \-o
|
||||||
@@ -79,6 +80,11 @@ is shown. The default separator is a space.
|
@@ -77,6 +78,11 @@ is shown. The default separator is a space.
|
||||||
Tells \fIpidof\fP to omit processes with that process id. The special
|
Tells \fIpidof\fP to omit processes with that process id. The special
|
||||||
pid \fB%PPID\fP can be used to name the parent process of the \fIpidof\fP
|
pid \fB%PPID\fP can be used to name the parent process of the \fBpidof\fP
|
||||||
program, in other words the calling shell or shell script.
|
program, in other words the calling shell or shell script.
|
||||||
+.IP -m
|
+.IP -m
|
||||||
+When used with -o, will also omit any processes that have the same
|
+When used with -o, will also omit any processes that have the same
|
||||||
|
|||||||
@@ -20,8 +20,9 @@ SRC_URI = "${SAVANNAH_GNU_MIRROR}/sysvinit/sysvinit-${PV}.tar.xz \
|
|||||||
file://rcS \
|
file://rcS \
|
||||||
file://bootlogd.init \
|
file://bootlogd.init \
|
||||||
file://01_bootlogd \
|
file://01_bootlogd \
|
||||||
|
file://0001-Fixed-compile-error-on-GNU-Hurd.patch \
|
||||||
"
|
"
|
||||||
SRC_URI[sha256sum] = "68b11a4772cdacce5fb65a4cbead324a2ce3999d138b4ff61dc2d59e57ef5793"
|
SRC_URI[sha256sum] = "4ca03ffdbefb5a99a60b94a021693686c2b498a08ff8aa4e859821fa7c39a792"
|
||||||
|
|
||||||
S = "${WORKDIR}/sysvinit-${PV}"
|
S = "${WORKDIR}/sysvinit-${PV}"
|
||||||
|
|
||||||
Reference in New Issue
Block a user