summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2020-03-20 14:48:26 +0100
committerThierry Vignaud <thierry.vignaud@gmail.com>2020-03-20 16:08:29 +0100
commit5afc3e4932fdbcfa35c7fe6ae0b22cccd71958ce (patch)
tree89c34dc8fdac1862f0c6f5171b1c1121a6979024
parentf83ba3606013d1eed9d7d2ff084c2c9726313525 (diff)
downloaddrakx-5afc3e4932fdbcfa35c7fe6ae0b22cccd71958ce.tar
drakx-5afc3e4932fdbcfa35c7fe6ae0b22cccd71958ce.tar.gz
drakx-5afc3e4932fdbcfa35c7fe6ae0b22cccd71958ce.tar.bz2
drakx-5afc3e4932fdbcfa35c7fe6ae0b22cccd71958ce.tar.xz
drakx-5afc3e4932fdbcfa35c7fe6ae0b22cccd71958ce.zip
preset keyboard if DEBUG_INSTALL_LANG is set during build
-rw-r--r--rescue/Makefile1
-rw-r--r--rescue/NEWS2
2 files changed, 3 insertions, 0 deletions
diff --git a/rescue/Makefile b/rescue/Makefile
index 5ccd28a11..620f287c7 100644
--- a/rescue/Makefile
+++ b/rescue/Makefile
@@ -11,6 +11,7 @@ install: $(RESCUE)
cp -f $< $(STAGE2_DEST)
$(RESCUE): $(wildcard tree/**/*) $(wildcard bin/*) $(wildcard sbin/*) make_rescue_img list.xml aliases
+ [ -n $$DEBUG_INSTALL_LANG ] && perl -pi -e '$$_ = "loadkeys '$$DEBUG_INSTALL_LANG'\n$$_" if /LANGUAGE/' tree/usr/bin/mageia-rescue
DISTRIB_DESCR=$(DISTRIB_DESCR) ./make_rescue_img
dist: tar
diff --git a/rescue/NEWS b/rescue/NEWS
index 3030ba281..27349137b 100644
--- a/rescue/NEWS
+++ b/rescue/NEWS
@@ -1,3 +1,5 @@
+- debug mode:
+ o preset keyboard if DEBUG_INSTALL_LANG is set during build
- do not preload all fs modules uselessly
- guessmount:
o fix displaying the version of the distro