diff --git a/share/runtime-postinstall.tmpl b/share/runtime-postinstall.tmpl index 4f702d59..65aed413 100644 --- a/share/runtime-postinstall.tmpl +++ b/share/runtime-postinstall.tmpl @@ -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