6c94857032
(1)Release Version Upgrade (2)Matching code changes with el7 to el8 (3)Change applying patch command Currently auto apply all patches as below %autosetup -p1 instead of applying patches commmand by command: %patchxxxx -p1 Story: 2006729 Task: 37687 Depends-On: https://review.opendev.org/#/c/696481/ Depends-On: https://review.opendev.org/#/c/696050/ Change-Id: I4a0dd93322144c13494e9ca4444f23b4b2aca0cf Signed-off-by: Long Li <lilong-neu@neusoft.com>
45 lines
1.5 KiB
Diff
45 lines
1.5 KiB
Diff
From e54422230c27e53436fe94a639a04aaf65f787e1 Mon Sep 17 00:00:00 2001
|
|
From: Don Penney <don.penney@windriver.com>
|
|
Date: Thu, 23 Nov 2017 16:50:10 -0500
|
|
Subject: [PATCH] Add TIS patches for host lookup
|
|
|
|
---
|
|
SPECS/anaconda.spec | 7 +++++++
|
|
1 file changed, 7 insertions(+)
|
|
|
|
diff --git a/SPECS/anaconda.spec b/SPECS/anaconda.spec
|
|
index 0153e82..3a045f0 100644
|
|
--- a/SPECS/anaconda.spec
|
|
+++ b/SPECS/anaconda.spec
|
|
@@ -18,6 +18,8 @@ Patch102: 0002-add-centos-background-color.patch
|
|
|
|
Patch10001: 0001-TIS-Progress-and-error-handling.patch
|
|
Patch10002: 0002-revert-7.4-grub2-efi-handling.patch
|
|
+Patch10003: 0003-Set-default-hostname-to-localhost.patch
|
|
+Patch10004: 0004-Cache-server-ip-in-etc-hosts.patch
|
|
|
|
# To generate Source0 do:
|
|
# git clone https://github.com/rhinstaller/anaconda
|
|
@@ -266,6 +268,10 @@ mkdir %{buildroot}%{_datadir}/anaconda/addons
|
|
%ifarch %livearches
|
|
desktop-file-install --dir=%{buildroot}%{_datadir}/applications %{buildroot}%{_datadir}/applications/liveinst.desktop
|
|
%endif
|
|
+
|
|
+# Add anaconda-preexec script
|
|
+install -m 0755 scripts/anaconda-preexec %{buildroot}%{_sbindir}/anaconda-preexec
|
|
+
|
|
# NOTE: If you see "error: Installed (but unpackaged) file(s) found" that include liveinst files,
|
|
# check the IS_LIVEINST_ARCH in configure.ac to make sure your architecture is properly defined
|
|
|
|
@@ -323,6 +329,7 @@ update-desktop-database &> /dev/null || :
|
|
%{_datadir}/applications/*.desktop
|
|
%{_sysconfdir}/xdg/autostart/*.desktop
|
|
%endif
|
|
+%{_sbindir}/anaconda-preexec
|
|
|
|
%files gui
|
|
%{python3_sitearch}/pyanaconda/ui/gui/*
|
|
--
|
|
2.7.4
|
|
|