summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2016-06-10 15:32:10 +0200
committerThierry Vignaud <thierry.vignaud@gmail.com>2016-06-10 15:54:58 +0200
commit3241edf1bfe07fc01e4f26e4778e103eca1086d5 (patch)
treee275ed34fd758c153d86b4341791b78b325c9bb2
parentd23a21a8f159164c567b5ffe177f62f8fb8909ef (diff)
downloaddrakx-3241edf1bfe07fc01e4f26e4778e103eca1086d5.tar
drakx-3241edf1bfe07fc01e4f26e4778e103eca1086d5.tar.gz
drakx-3241edf1bfe07fc01e4f26e4778e103eca1086d5.tar.bz2
drakx-3241edf1bfe07fc01e4f26e4778e103eca1086d5.tar.xz
drakx-3241edf1bfe07fc01e4f26e4778e103eca1086d5.zip
fix loadkeys in debug mode
set special variable else loadkeys won't work on tty1 (before starting the real installer) as keyboard.pm will look in the wrong place and thus won't use internal loadkeys
-rw-r--r--perl-install/install/NEWS1
-rw-r--r--perl-install/install/share/runinstall2.sh2
2 files changed, 3 insertions, 0 deletions
diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS
index 2f9cf329e..167989e83 100644
--- a/perl-install/install/NEWS
+++ b/perl-install/install/NEWS
@@ -1,6 +1,7 @@
- do not override bootloader on upgrade (mga#18638)
- debug build:
o gdb needs python3 instead of python2 (and guile as well)
+ o fix loadkeys in debug mode on tty1
Version 17.35.1 - 7 June 2016
diff --git a/perl-install/install/share/runinstall2.sh b/perl-install/install/share/runinstall2.sh
index 014f5fd5d..dce38c299 100644
--- a/perl-install/install/share/runinstall2.sh
+++ b/perl-install/install/share/runinstall2.sh
@@ -1,5 +1,7 @@
#!/bin/sh
+# enable loadkeys to work before manually starting drakx in debug env:
+export SHARE_PATH=/usr/share
echo "Starting Udev\n"
perl -I/usr/lib/libDrakX -Minstall::install2 -e "install::install2::start_udev()"
echo "You can start the installer by running install2"