runtime-postinstall: remove keymap stuff
anaconda no longer contains the keymap overrides and systemd should be handling keymap stuff for us, so this isn't necessary.
This commit is contained in:
parent
4e3c11c5eb
commit
d61f330462
@ -3,23 +3,11 @@
|
|||||||
|
|
||||||
<%page args="root, basearch, libdir, configdir"/>
|
<%page args="root, basearch, libdir, configdir"/>
|
||||||
<%
|
<%
|
||||||
# TODO: make systemd handle the keymaps and drop this from lorax/anaconda
|
|
||||||
filearch = 'ppc' if basearch == 'ppc64' else basearch
|
|
||||||
KEYMAP_OVERRIDE = "usr/share/anaconda/keymaps-override-%s" % filearch
|
|
||||||
PYTHONDIR = glob("usr/"+libdir+"/python?.?")[0]
|
PYTHONDIR = glob("usr/"+libdir+"/python?.?")[0]
|
||||||
stubs = ("list-harddrives", "loadkeys", "raidstart", "raidstop")
|
stubs = ("list-harddrives", "loadkeys", "raidstart", "raidstop")
|
||||||
configdir = configdir + "/common"
|
configdir = configdir + "/common"
|
||||||
%>
|
%>
|
||||||
|
|
||||||
## create_keymaps()
|
|
||||||
%if basearch not in ("s390", "s390x"):
|
|
||||||
%if exists(KEYMAP_OVERRIDE):
|
|
||||||
move ${KEYMAP_OVERRIDE} etc/keymaps.gz
|
|
||||||
%else:
|
|
||||||
runcmd ${root}/usr/libexec/anaconda/getkeymaps ${basearch} ${root}/etc/keymaps.gz ${root}
|
|
||||||
%endif
|
|
||||||
%endif
|
|
||||||
|
|
||||||
## move_stubs()
|
## move_stubs()
|
||||||
move usr/share/anaconda/restart-anaconda usr/bin
|
move usr/share/anaconda/restart-anaconda usr/bin
|
||||||
move ${PYTHONDIR}/site-packages/pyanaconda/sitecustomize.py ${PYTHONDIR}/site-packages
|
move ${PYTHONDIR}/site-packages/pyanaconda/sitecustomize.py ${PYTHONDIR}/site-packages
|
||||||
|
Loading…
Reference in New Issue
Block a user