
Problem: - Centos 7.5 upgraded initscripts. - Porting of initscripts patches did not resolve and 'fuzz' in the line numbers of the patches. - If initscript is built by rpm 4.11, or default version of rpm until 4.14 is compiled, a fuzzy patch results in the creating of an .orig file. - Packaging of initscripts failes due to the unexpected, and unpackaged .orig file Solution: Safest solution is to de-fuzz our initscripts patches. A seperate investigation will bug report will address the broader issues. Closes-Bug: 1794611 Change-Id: I1e91a230194c0c21798b7e91b444f929b54106d6 Signed-off-by: Scott Little <scott.little@windriver.com>
44 lines
1.3 KiB
Diff
44 lines
1.3 KiB
Diff
From 47c822a4f51caf9cfc782fbf0e6b670b535fe071 Mon Sep 17 00:00:00 2001
|
|
From: Scott Little <scott.little@windriver.com>
|
|
Date: Mon, 2 Oct 2017 14:49:27 -0400
|
|
Subject: [PATCH 04/13] WRS: 0001-Support-PROMISC-for-interfaces-config.patch
|
|
|
|
Conflicts:
|
|
SPECS/initscripts.spec
|
|
---
|
|
SPECS/initscripts.spec | 4 +++-
|
|
1 file changed, 3 insertions(+), 1 deletion(-)
|
|
|
|
diff --git a/SPECS/initscripts.spec b/SPECS/initscripts.spec
|
|
index 6a7a76d..6ec4bea 100644
|
|
--- a/SPECS/initscripts.spec
|
|
+++ b/SPECS/initscripts.spec
|
|
@@ -4,7 +4,7 @@ Version: 9.49.41
|
|
# ppp-watch is GPLv2+, everything else is GPLv2
|
|
License: GPLv2 and GPLv2+
|
|
Group: System Environment/Base
|
|
-Release: 1%{?dist}.4
|
|
+Release: 1%{?dist}.5
|
|
URL: https://github.com/fedora-sysv/initscripts
|
|
Source: https://github.com/fedora-sysv/initscripts/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
|
|
|
@@ -44,6 +44,7 @@ Provides: /sbin/service
|
|
Patch4: support-interface-scriptlets.patch
|
|
Patch5: relocate-dhclient-leases-to-var-run.patch
|
|
Patch6: dhclient-restrict-interfaces-to-those-on-c.patch
|
|
+Patch7: support-interface-promisc.patch
|
|
|
|
%description
|
|
The initscripts package contains basic system scripts used
|
|
@@ -67,6 +68,7 @@ Currently, this consists of various memory checking code.
|
|
%patch4 -p1
|
|
%patch5 -p1
|
|
%patch6 -p1
|
|
+%patch7 -p1
|
|
|
|
%build
|
|
make
|
|
--
|
|
1.9.1
|
|
|