integ/base/ntp/centos/meta_patches/ntp-spec-add-TiS-custom-config-files.patch
slin14 868a2f2770 de-fuzz ntp patches
When do Centos 7.5 upgraded, some patches didn't resolve and cause
the fuzzy in the line numbers of the patches. And it may cause
.orig file is created when do patch. And this .orig file will lead
to rpm packaging failure due to the unexpected and unpackaged .orig
file.

Please visit below link to get more detail info:
https://bugs.launchpad.net/starlingx/+bug/1794611

Solution:
  Safest solution is to de-fuzz our patches.

Story: 2003389
Task: 26755

Change-Id: I45ebdfb791d7c0a83b2fc243f95d2a1fa2351682
Signed-off-by: slin14 <shuicheng.lin@intel.com>
2018-09-28 08:11:37 +08:00

33 lines
1.0 KiB
Diff

From a24ad7ed432352f238f51429e3c24c600c726a8a Mon Sep 17 00:00:00 2001
From: Scott Little <scott.little@windriver.com>
Date: Mon, 2 Oct 2017 16:29:00 -0400
Subject: WRS: ntp-spec-add-TiS-custom-config-files.patch
---
SPECS/ntp.spec | 2 ++
1 file changed, 2 insertions(+)
diff --git a/SPECS/ntp.spec b/SPECS/ntp.spec
index 52ad9aa..73ab0f7 100644
--- a/SPECS/ntp.spec
+++ b/SPECS/ntp.spec
@@ -46,6 +46,7 @@ Source13: ntpdate.service
Source14: ntp-wait.service
Source15: sntp.service
Source16: sntp.sysconfig
+Source17: ntp-cgcs.conf
# ntpbz #802
Patch1: ntp-4.2.6p1-sleep.patch
@@ -462,6 +463,7 @@ sed -e 's|VENDORZONE\.|%{vendorzone}|' \
touch -r %{SOURCE16} .%{_sysconfdir}/sysconfig/sntp
install -p -m600 %{SOURCE8} .%{_sysconfdir}/ntp/crypto/pw
install -p -m755 %{SOURCE10} .%{_sysconfdir}/dhcp/dhclient.d/ntp.sh
+install -p -m644 %{SOURCE17} .%{_sysconfdir}/ntp.conf
install -p -m644 %{SOURCE12} .%{_unitdir}/ntpd.service
install -p -m644 %{SOURCE13} .%{_unitdir}/ntpdate.service
install -p -m644 %{SOURCE14} .%{_unitdir}/ntp-wait.service
--
2.7.4