diff options
| author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-11-07 13:31:53 +0000 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-11-07 13:31:53 +0000 |
| commit | 8c22ff0d8b70d9b12f0487ef696a7e915b9e3173 (patch) | |
| tree | efdc32587159d0050a69009bdf2330a531727d95 /meta/recipes-extended/shadow/files/disable_syslog.patch | |
| parent | d412d2747595c1cc4a5e3ca975e3adc31b2f7891 (diff) | |
| download | poky-8c22ff0d8b70d9b12f0487ef696a7e915b9e3173.tar.gz | |
The poky repository master branch is no longer being updated.
You can either:
a) switch to individual clones of bitbake, openembedded-core, meta-yocto and yocto-docs
b) use the new bitbake-setup
You can find information about either approach in our documentation:
https://docs.yoctoproject.org/
Note that "poky" the distro setting is still available in meta-yocto as
before and we continue to use and maintain that.
Long live Poky!
Some further information on the background of this change can be found
in: https://lists.openembedded.org/g/openembedded-architecture/message/2179
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/shadow/files/disable_syslog.patch')
| -rw-r--r-- | meta/recipes-extended/shadow/files/disable_syslog.patch | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/meta/recipes-extended/shadow/files/disable_syslog.patch b/meta/recipes-extended/shadow/files/disable_syslog.patch deleted file mode 100644 index 7299a8e61c..0000000000 --- a/meta/recipes-extended/shadow/files/disable_syslog.patch +++ /dev/null | |||
| @@ -1,22 +0,0 @@ | |||
| 1 | When building images using shadow-native, we shouldn't be spamming the host's | ||
| 2 | log with lots of syslog messages which aren't relavent. Disable syslog use | ||
| 3 | in the native case. | ||
| 4 | |||
| 5 | Upstream-Status: Inappropriate [Would upstream accept a configure option?] | ||
| 6 | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> | ||
| 7 | |||
| 8 | Index: shadow-4.17.2/lib/defines.h | ||
| 9 | =================================================================== | ||
| 10 | --- shadow-4.17.2.orig/lib/defines.h | ||
| 11 | +++ shadow-4.17.2/lib/defines.h | ||
| 12 | @@ -88,7 +88,9 @@ | ||
| 13 | |||
| 14 | /* cleaner than lots of #ifdefs everywhere - use this as follows: | ||
| 15 | SYSLOG((LOG_CRIT, "user %s cracked root", user)); */ | ||
| 16 | -#ifdef ENABLE_NLS | ||
| 17 | +#if 1 | ||
| 18 | +#define SYSLOG(x) | ||
| 19 | +#elif ENABLE_NLS | ||
| 20 | /* Temporarily set LC_TIME to "C" to avoid strange dates in syslog. | ||
| 21 | This is a workaround for a more general syslog(d) design problem - | ||
| 22 | syslogd should log the current system time for each event, and not | ||
