[PATCH 2/5] lang: kill xen keymap hack

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



No idea whether this code will work with current pv_ops
xen kernels, but we don't have /proc/xen currently, so
the workaround won't work anyway.

Signed-off-by: Mark McLoughlin <markmc@xxxxxxxxxx>
---
 isys/lang.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/isys/lang.c b/isys/lang.c
index 715f5e1..b6e2a36 100644
--- a/isys/lang.c
+++ b/isys/lang.c
@@ -113,8 +113,6 @@ int loadKeymap(gzFile stream) {
 #endif
     if (isVioConsole())
         return 0;
-    if (!access("/proc/xen", R_OK)) /* xen can't load keymaps */
-        return 0;
 
     /* assume that if we're already on a pty loading a keymap is silly */
     fstat(0, &sb);
-- 
1.5.4.1

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux