runtime-postinstall: Drop raidstart/stop stub code

Anaconda hasn't included these since Fedora 10. Stop trying to install
them.
This commit is contained in:
Brian C. Lane 2021-11-03 13:53:27 -07:00
parent 7a1de81b09
commit 5d9830e88d
1 changed files with 1 additions and 4 deletions

View File

@ -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