summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/shadow/files/0001-Disable-use-of-syslog-for-sysroot.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-extended/shadow/files/0001-Disable-use-of-syslog-for-sysroot.patch')
-rw-r--r--meta/recipes-extended/shadow/files/0001-Disable-use-of-syslog-for-sysroot.patch21
1 files changed, 11 insertions, 10 deletions
diff --git a/meta/recipes-extended/shadow/files/0001-Disable-use-of-syslog-for-sysroot.patch b/meta/recipes-extended/shadow/files/0001-Disable-use-of-syslog-for-sysroot.patch
index a6f604b652..aac2d42b12 100644
--- a/meta/recipes-extended/shadow/files/0001-Disable-use-of-syslog-for-sysroot.patch
+++ b/meta/recipes-extended/shadow/files/0001-Disable-use-of-syslog-for-sysroot.patch
@@ -11,6 +11,7 @@ Upstream-Status: Inappropriate [disable feature]
11 11
12Signed-off-by: Scott Garman <scott.a.garman@intel.com> 12Signed-off-by: Scott Garman <scott.a.garman@intel.com>
13Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> 13Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
14Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
14--- 15---
15 src/groupadd.c | 3 +++ 16 src/groupadd.c | 3 +++
16 src/groupdel.c | 3 +++ 17 src/groupdel.c | 3 +++
@@ -22,7 +23,7 @@ Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
22 7 files changed, 21 insertions(+) 23 7 files changed, 21 insertions(+)
23 24
24diff --git a/src/groupadd.c b/src/groupadd.c 25diff --git a/src/groupadd.c b/src/groupadd.c
25index 39b4ec0..f716f57 100644 26index 63e1c48..a596c49 100644
26--- a/src/groupadd.c 27--- a/src/groupadd.c
27+++ b/src/groupadd.c 28+++ b/src/groupadd.c
28@@ -34,6 +34,9 @@ 29@@ -34,6 +34,9 @@
@@ -36,7 +37,7 @@ index 39b4ec0..f716f57 100644
36 #include <fcntl.h> 37 #include <fcntl.h>
37 #include <getopt.h> 38 #include <getopt.h>
38diff --git a/src/groupdel.c b/src/groupdel.c 39diff --git a/src/groupdel.c b/src/groupdel.c
39index da99347..46a679c 100644 40index 70bed01..ababd81 100644
40--- a/src/groupdel.c 41--- a/src/groupdel.c
41+++ b/src/groupdel.c 42+++ b/src/groupdel.c
42@@ -34,6 +34,9 @@ 43@@ -34,6 +34,9 @@
@@ -50,7 +51,7 @@ index da99347..46a679c 100644
50 #include <fcntl.h> 51 #include <fcntl.h>
51 #include <grp.h> 52 #include <grp.h>
52diff --git a/src/groupmems.c b/src/groupmems.c 53diff --git a/src/groupmems.c b/src/groupmems.c
53index e4f107f..95cb073 100644 54index fc91c8b..2842514 100644
54--- a/src/groupmems.c 55--- a/src/groupmems.c
55+++ b/src/groupmems.c 56+++ b/src/groupmems.c
56@@ -32,6 +32,9 @@ 57@@ -32,6 +32,9 @@
@@ -64,7 +65,7 @@ index e4f107f..95cb073 100644
64 #include <getopt.h> 65 #include <getopt.h>
65 #include <grp.h> 66 #include <grp.h>
66diff --git a/src/groupmod.c b/src/groupmod.c 67diff --git a/src/groupmod.c b/src/groupmod.c
67index d9d3807..6229737 100644 68index 72daf2c..8965f9d 100644
68--- a/src/groupmod.c 69--- a/src/groupmod.c
69+++ b/src/groupmod.c 70+++ b/src/groupmod.c
70@@ -34,6 +34,9 @@ 71@@ -34,6 +34,9 @@
@@ -78,7 +79,7 @@ index d9d3807..6229737 100644
78 #include <fcntl.h> 79 #include <fcntl.h>
79 #include <getopt.h> 80 #include <getopt.h>
80diff --git a/src/useradd.c b/src/useradd.c 81diff --git a/src/useradd.c b/src/useradd.c
81index e1ebf50..25679d8 100644 82index 3aaf45c..1ab9174 100644
82--- a/src/useradd.c 83--- a/src/useradd.c
83+++ b/src/useradd.c 84+++ b/src/useradd.c
84@@ -34,6 +34,9 @@ 85@@ -34,6 +34,9 @@
@@ -92,7 +93,7 @@ index e1ebf50..25679d8 100644
92 #include <ctype.h> 93 #include <ctype.h>
93 #include <errno.h> 94 #include <errno.h>
94diff --git a/src/userdel.c b/src/userdel.c 95diff --git a/src/userdel.c b/src/userdel.c
95index 19b12bc..a083929 100644 96index c8de1d3..24d3ea9 100644
96--- a/src/userdel.c 97--- a/src/userdel.c
97+++ b/src/userdel.c 98+++ b/src/userdel.c
98@@ -34,6 +34,9 @@ 99@@ -34,6 +34,9 @@
@@ -102,11 +103,11 @@ index 19b12bc..a083929 100644
102+/* Disable use of syslog since we're running this command against a sysroot */ 103+/* Disable use of syslog since we're running this command against a sysroot */
103+#undef USE_SYSLOG 104+#undef USE_SYSLOG
104+ 105+
106 #include <assert.h>
105 #include <errno.h> 107 #include <errno.h>
106 #include <fcntl.h> 108 #include <fcntl.h>
107 #include <getopt.h>
108diff --git a/src/usermod.c b/src/usermod.c 109diff --git a/src/usermod.c b/src/usermod.c
109index 685b50a..28e5cfc 100644 110index ccfbb99..24fb60d 100644
110--- a/src/usermod.c 111--- a/src/usermod.c
111+++ b/src/usermod.c 112+++ b/src/usermod.c
112@@ -34,6 +34,9 @@ 113@@ -34,6 +34,9 @@
@@ -116,9 +117,9 @@ index 685b50a..28e5cfc 100644
116+/* Disable use of syslog since we're running this command against a sysroot */ 117+/* Disable use of syslog since we're running this command against a sysroot */
117+#undef USE_SYSLOG 118+#undef USE_SYSLOG
118+ 119+
120 #include <assert.h>
119 #include <ctype.h> 121 #include <ctype.h>
120 #include <errno.h> 122 #include <errno.h>
121 #include <fcntl.h>
122-- 123--
1232.1.0 1242.11.0
124 125