summaryrefslogtreecommitdiffstats
path: root/perl-install/install/Makefile
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2017-03-04 15:09:40 +0100
committerThierry Vignaud <thierry.vignaud@gmail.com>2017-03-06 10:59:33 +0100
commit6598e4a31648906f53d95b87f903a3e18b61d2d8 (patch)
tree9f663600c24691b29b22f4e2c8ed859d513b3add /perl-install/install/Makefile
parent4319d6997c99f14ef6f33279fe030a004de56f95 (diff)
downloaddrakx-6598e4a31648906f53d95b87f903a3e18b61d2d8.tar
drakx-6598e4a31648906f53d95b87f903a3e18b61d2d8.tar.gz
drakx-6598e4a31648906f53d95b87f903a3e18b61d2d8.tar.bz2
drakx-6598e4a31648906f53d95b87f903a3e18b61d2d8.tar.xz
drakx-6598e4a31648906f53d95b87f903a3e18b61d2d8.zip
preset keyboard if DEBUG_INSTALL_LANG is set
useful when doing a debug build
Diffstat (limited to 'perl-install/install/Makefile')
-rw-r--r--perl-install/install/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/install/Makefile b/perl-install/install/Makefile
index a8c6cceba..ad201cbf0 100644
--- a/perl-install/install/Makefile
+++ b/perl-install/install/Makefile
@@ -101,6 +101,7 @@ stage2:
dont_run_directly_stage2:
[ -d $(DEST) ] || ../../tools/mdkinst_stage2_tool --uncompress $(STAGE2_DEST)
install -m 755 share/runinstall2.sh share/gdb-inst $(DEST)/usr/bin/
+ [ -n $$DEBUG_INSTALL_LANG ] && perl -pi -e '$$_ = "loadkeys '$$DEBUG_INSTALL_LANG'\n$$_" if / sh/' $(DEST)/usr/bin/runinstall2.sh
ln -sf runinstall2.sh $(DEST)/usr/bin/runinstall2
trace_stage2: