Files
integ/base/dhcp/centos/meta_patches/mark-dhclient.conf-as-config.patch
slin14 5ebcaeedb8 de-fuzz dhcp 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: Ic8dfef3f8c0e2b417b3f979ce7eaeb4bea43a07e
Signed-off-by: slin14 <shuicheng.lin@intel.com>
2018-09-28 08:08:29 +08:00

26 lines
641 B
Diff

From fd8de766f09dd6cb836b7f9823eaa0ad17eaf2d3 Mon Sep 17 00:00:00 2001
From: Scott Little <scott.little@windriver.com>
Date: Mon, 2 Oct 2017 15:25:05 -0400
Subject: WRS: mark-dhclient.conf-as-config.patch
---
SPECS/dhcp.spec | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/SPECS/dhcp.spec b/SPECS/dhcp.spec
index 70c7a6d..fc17edb 100644
--- a/SPECS/dhcp.spec
+++ b/SPECS/dhcp.spec
@@ -722,7 +722,7 @@ done
%attr(0644,root,root) %{_mandir}/man8/dhclient-script.8.gz
# WRS
-%{dhcpconfdir}/dhclient.conf
+%config(noreplace) %{dhcpconfdir}/dhclient.conf
%{dhcpconfdir}/dhclient-enter-hooks
%files common
--
2.7.4