Add workaround for keymap/screenfont on ppc64

This commit is contained in:
Will Woods 2011-08-02 11:55:01 -04:00
parent 9f6393c58e
commit ed95688d40

View File

@ -1,7 +1,9 @@
<%page args="root, basearch, libdir, configdir"/>
<%
KEYMAP_OVERRIDE = "usr/share/anaconda/keymaps-override-%s" % basearch
SCREENFONT = "usr/share/anaconda/screenfont-%s.gz" % basearch
# TODO: fix filenames in anaconda so we can drop the ppc64 workaround
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]
stubs = ("list-harddrives", "loadkeys", "raidstart", "raidstop")
%>
@ -16,7 +18,7 @@ stubs = ("list-harddrives", "loadkeys", "raidstart", "raidstop")
%endif
## create_screenfont()
moveif usr/share/anaconda/screenfont-${basearch}.gz etc/screenfont.gz
moveif ${SCREENFONT} etc/screenfont.gz
## move_stubs()
move usr/share/anaconda/restart-anaconda usr/bin