Add workaround for keymap/screenfont on ppc64
This commit is contained in:
parent
9f6393c58e
commit
ed95688d40
@ -1,7 +1,9 @@
|
|||||||
<%page args="root, basearch, libdir, configdir"/>
|
<%page args="root, basearch, libdir, configdir"/>
|
||||||
<%
|
<%
|
||||||
KEYMAP_OVERRIDE = "usr/share/anaconda/keymaps-override-%s" % basearch
|
# TODO: fix filenames in anaconda so we can drop the ppc64 workaround
|
||||||
SCREENFONT = "usr/share/anaconda/screenfont-%s.gz" % basearch
|
filearch = 'ppc' if basearch == 'ppc64' else basearch
|
||||||
|
KEYMAP_OVERRIDE = "usr/share/anaconda/keymaps-override-%s" % filearch
|
||||||
|
SCREENFONT = "usr/share/anaconda/screenfont-%s.gz" % 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")
|
||||||
%>
|
%>
|
||||||
@ -16,7 +18,7 @@ stubs = ("list-harddrives", "loadkeys", "raidstart", "raidstop")
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
## create_screenfont()
|
## create_screenfont()
|
||||||
moveif usr/share/anaconda/screenfont-${basearch}.gz etc/screenfont.gz
|
moveif ${SCREENFONT} etc/screenfont.gz
|
||||||
|
|
||||||
## move_stubs()
|
## move_stubs()
|
||||||
move usr/share/anaconda/restart-anaconda usr/bin
|
move usr/share/anaconda/restart-anaconda usr/bin
|
||||||
|
Loading…
Reference in New Issue
Block a user