diff --git a/pyanaconda/keyboard.py b/pyanaconda/keyboard.py
index 51f6d1b..f01ffdd 100755
--- a/pyanaconda/keyboard.py
+++ b/pyanaconda/keyboard.py
@@ -130,7 +130,7 @@ def write_layouts_config(keyboard, root):
with open(os.path.join(xconf_dir, xconf_file), "w") as fobj:
fobj.write(get_layouts_xorg_conf(keyboard))
- with open(sysconf_file, "w") as fobj:
+ with open(os.path.normpath(root + sysconf_file), "w") as fobj:
fobj.write('KEYTABLE="%s"\n' % keyboard.keyboard)
except IOError as ioerr:
For parallelism, it might be nice to fix this the same way as xconf_dir
is handled. But, ACK whichever way you think is best.
- Chris