mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-04 02:31:27 +00:00
ntp: Disable debugging by default
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> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
committed by
Martin Jansa
parent
5f532a928c
commit
55ebea4bb0
@@ -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)
|
||||||
@@ -23,6 +23,7 @@ SRC_URI = "http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-4.2/ntp-${PV}.tar.g
|
|||||||
file://sntp.service \
|
file://sntp.service \
|
||||||
file://sntp \
|
file://sntp \
|
||||||
file://ntpd.list \
|
file://ntpd.list \
|
||||||
|
file://ntp-disable-debugging.patch \
|
||||||
"
|
"
|
||||||
|
|
||||||
inherit autotools update-rc.d useradd systemd
|
inherit autotools update-rc.d useradd systemd
|
||||||
|
|||||||
Reference in New Issue
Block a user