integ/base/util-linux/centos/meta_patches/spec-use-su-file-from-shadow.patch
slin14 1290065966 de-fuzz util-linux 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: I6ab8d2a32b2ea997411b479d1953efb3b6ccbdd1
Signed-off-by: slin14 <shuicheng.lin@intel.com>
2018-09-28 07:48:51 +08:00

34 lines
1.0 KiB
Diff

From 1b4403d3c5b9fc0f73e1af70e34deb2d54a9c686 Mon Sep 17 00:00:00 2001
From: Scott Little <scott.little@windriver.com>
Date: Mon, 2 Oct 2017 14:55:36 -0400
Subject: WRS: spec-use-su-file-from-shadow.patch
---
SPECS/util-linux.spec | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/SPECS/util-linux.spec b/SPECS/util-linux.spec
index 48100e4..4b045fd 100644
--- a/SPECS/util-linux.spec
+++ b/SPECS/util-linux.spec
@@ -41,6 +41,7 @@ Source12: util-linux-su.pamd
Source13: util-linux-su-l.pamd
Source14: util-linux-runuser.pamd
Source15: util-linux-runuser-l.pamd
+Source16: su
### Obsoletes & Conflicts & Provides
Conflicts: bash-completion < 1:2.1-1
@@ -612,7 +613,7 @@ chmod 755 ${RPM_BUILD_ROOT}%{_bindir}/sunhostid
install -m 644 %{SOURCE2} ./remote
install -m 644 %{SOURCE3} ./chsh
install -m 644 %{SOURCE3} ./chfn
- install -m 644 %{SOURCE12} ./su
+ install -m 644 %{SOURCE16} ./su
install -m 644 %{SOURCE13} ./su-l
install -m 644 %{SOURCE14} ./runuser
install -m 644 %{SOURCE15} ./runuser-l
--
2.7.4