From 72b68e5d7bda6caf305c5a40ee8affffc5252735 Mon Sep 17 00:00:00 2001 From: "Brian C. Lane" Date: Wed, 3 Nov 2021 13:53:27 -0700 Subject: [PATCH] runtime-postinstall: Drop raidstart/stop stub code Anaconda hasn't included these since Fedora 10. Stop trying to install them. (cherry picked from commit 5d9830e88dc6538179904263be7a824c1e48f8d5) --- share/templates.d/99-generic/runtime-postinstall.tmpl | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/share/templates.d/99-generic/runtime-postinstall.tmpl b/share/templates.d/99-generic/runtime-postinstall.tmpl index 4a16a1a5..93e16072 100644 --- a/share/templates.d/99-generic/runtime-postinstall.tmpl +++ b/share/templates.d/99-generic/runtime-postinstall.tmpl @@ -3,7 +3,6 @@ <%page args="root, basearch, libdir, configdir"/> <% -stubs = ("list-harddrives", "raidstart", "raidstop") configdir = configdir + "/common" import os, time SOURCE_DATE_EPOCH = os.environ.get('SOURCE_DATE_EPOCH', str(int(time.time()))) @@ -11,9 +10,7 @@ SOURCE_DATE_EPOCH = os.environ.get('SOURCE_DATE_EPOCH', str(int(time.time()))) ## move_stubs() move usr/share/anaconda/restart-anaconda usr/bin -%for stub in stubs: - -move usr/share/anaconda/${stub}-stub usr/bin/${stub} -%endfor +move usr/share/anaconda/list-harddrives-stub usr/bin/list-harddrives ## move_repos() move etc/yum.repos.d etc/anaconda.repos.d