aboutsummaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-support/ntp/files/ntp-disable-debugging.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-networking/recipes-support/ntp/files/ntp-disable-debugging.patch')
-rw-r--r--meta-networking/recipes-support/ntp/files/ntp-disable-debugging.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/meta-networking/recipes-support/ntp/files/ntp-disable-debugging.patch b/meta-networking/recipes-support/ntp/files/ntp-disable-debugging.patch
new file mode 100644
index 0000000000..242276edb0
--- /dev/null
+++ b/meta-networking/recipes-support/ntp/files/ntp-disable-debugging.patch
@@ -0,0 +1,23 @@
+set ntp_ok to no if ntp debugging is not enabled.
+
+Upstream-status: Pending
+
+There is a problem in configure.ac file that whether or not
+'--enable-debugging' is specified in configure cmdline, debugging
+is always enabled.
+We should disable ntp debugging by default.
+
+Signed-off-by: Xufeng Zhang <xufeng.zhang@windriver.com>
+
+---
+--- a/configure.ac
++++ b/configure.ac
+@@ -2458,7 +2458,7 @@
+ [+ include ntpd debugging code]
+ )],
+ [ntp_ok=$enableval],
+- [ntp_ok=yes]
++ [ntp_ok=no]
+ )
+ case "$ntp_ok" in
+ yes)