diff options
| -rw-r--r-- | meta-networking/recipes-support/ntp/files/ntp-disable-debugging.patch | 23 | ||||
| -rw-r--r-- | meta-networking/recipes-support/ntp/ntp.inc | 1 |
2 files changed, 24 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 @@ | |||
| 1 | set ntp_ok to no if ntp debugging is not enabled. | ||
| 2 | |||
| 3 | Upstream-status: Pending | ||
| 4 | |||
| 5 | There is a problem in configure.ac file that whether or not | ||
| 6 | '--enable-debugging' is specified in configure cmdline, debugging | ||
| 7 | is always enabled. | ||
| 8 | We should disable ntp debugging by default. | ||
| 9 | |||
| 10 | Signed-off-by: Xufeng Zhang <xufeng.zhang@windriver.com> | ||
| 11 | |||
| 12 | --- | ||
| 13 | --- a/configure.ac | ||
| 14 | +++ b/configure.ac | ||
| 15 | @@ -2458,7 +2458,7 @@ | ||
| 16 | [+ include ntpd debugging code] | ||
| 17 | )], | ||
| 18 | [ntp_ok=$enableval], | ||
| 19 | - [ntp_ok=yes] | ||
| 20 | + [ntp_ok=no] | ||
| 21 | ) | ||
| 22 | case "$ntp_ok" in | ||
| 23 | yes) | ||
diff --git a/meta-networking/recipes-support/ntp/ntp.inc b/meta-networking/recipes-support/ntp/ntp.inc index 49f9901e1e..2c8f48864f 100644 --- a/meta-networking/recipes-support/ntp/ntp.inc +++ b/meta-networking/recipes-support/ntp/ntp.inc | |||
| @@ -23,6 +23,7 @@ SRC_URI = "http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-4.2/ntp-${PV}.tar.g | |||
| 23 | file://sntp.service \ | 23 | file://sntp.service \ |
| 24 | file://sntp \ | 24 | file://sntp \ |
| 25 | file://ntpd.list \ | 25 | file://ntpd.list \ |
| 26 | file://ntp-disable-debugging.patch \ | ||
| 26 | " | 27 | " |
| 27 | 28 | ||
| 28 | inherit autotools update-rc.d useradd systemd | 29 | inherit autotools update-rc.d useradd systemd |
