]> git.plutz.net Git - blast/commitdiff
german keyboard layout
authorPaul Hänsch <paul@plutz.net>
Thu, 19 Sep 2019 10:07:24 +0000 (12:07 +0200)
committerPaul Hänsch <paul@plutz.net>
Thu, 19 Sep 2019 10:07:24 +0000 (12:07 +0200)
live.mk

diff --git a/live.mk b/live.mk
index d53d7b5ffe0ceeb3e7c69ce96f70d8a3b207e4dc..27e1e76a5ab4e643047979d36e056b792bd185e1 100644 (file)
--- a/live.mk
+++ b/live.mk
@@ -60,8 +60,8 @@ nodm_user=live
 ## See modules/approx.mk if you need more flexibility
 # approx=http://localhost:9000/debian
 
-.PHONY: _live_initrd _favorites #_bootmount
-_config: _live_initrd _favorites #_bootmount
+.PHONY: _live_initrd _favorites _kbdlayout #_bootmount
+_config: _live_initrd _favorites _kbdlayout #_bootmount
 _live_initrd: cfg_root _live_modules
        # printf '%s\n' "isofs" "squashfs" "ata_generic" "usb_storage" "sr_mod" "mmc_block" >>"$${CFGROOT}/etc/initramfs-tools/modules"
        sed -i 's;^MODULES=.*$$;MODULES=most;' "$${CFGROOT}/etc/initramfs-tools/initramfs.conf"
@@ -82,5 +82,8 @@ _favorites: _xfce
        printf 'favorites=libreoffice-startcenter.desktop,firefox-esr.desktop,xfce4-terminal.desktop,org.kde.dolphin.desktop,mousepad.desktop,synaptic.desktop,aqemu.desktop,gparted.desktop' \
                >"$${CFGROOT}/etc/xdg/xfce4/panel/whiskermenu-10.rc"
 
+_kbdlayout: cfg_root
+       sed -Ei 's;^XKBLAYOUT=.*$$;XKBLAYOUT="de";;' "$${CFGROOT}/etc/default/keyboard"
+
 #_bootmount: cfg_root
 #      printf '/lib/live/mount/medium  /boot/  bind    auto,bind       0 0\n' >>"$${CFGROOT}/etc/fstab"