## 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"
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"