# imagesize=3072
## Additional packages
-# packages=chromium,chromium-sandbox,chromium-l10n,okular,libreoffice-writer,libreoffice-calc,libreoffice-l10n-de,libreoffice-gnome,hyphen-de,hunspell-de-de-frami,ssh,gparted,vlc,aqemu,qemu-kvm,leafpad,network-manager-gnome,synaptic,man,manpages-de,dolphin
-packages=firefox-esr,firefox-esr-l10n-de,okular,libreoffice-writer,libreoffice-calc,libreoffice-l10n-de,libreoffice-gnome,hyphen-de,hunspell-de-de-frami,ssh,gparted,vlc,aqemu,qemu-kvm,qemu-utils,mousepad,network-manager-gnome,synaptic,man-db,manpages-de,dolphin,alsa-utils,pulseaudio,pavucontrol,konsole,inkscape,rdesktop,tmux,debootstrap,ntfs-3g,exfat-utils,exfat-fuse,dosfstools,qemu-system-gui
+packages=firefox-esr,firefox-esr-l10n-de,okular,libreoffice-writer,libreoffice-calc,libreoffice-l10n-de,libreoffice-gnome,hyphen-de,hunspell-de-de-frami,ssh,gparted,vlc,aqemu,qemu-kvm,qemu-utils,mousepad,network-manager-gnome,synaptic,man-db,manpages-de,dolphin,alsa-utils,pulseaudio,pavucontrol,konsole,inkscape,rdesktop,tmux,debootstrap,ntfs-3g,exfat-utils,exfat-fuse,dosfstools,qemu-system-gui,ncat,make
## Debian release, so far only stretch has been tested
release=buster
## Comma separated list of locales, first one will become default locale
locales=de_DE.UTF-8 #,en_US.UTF-8
+keyboard=de
+
## If nodm is installed, you can choose a user to login automatically
## If no user is given here, then nodm will default to root
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 _bootmount
+_config: _live_initrd _favorites
+_isosquash: _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"
-#_bootmount: cfg_root
-# printf '/lib/live/mount/medium /boot/ bind auto,bind 0 0\n' >>"$${CFGROOT}/etc/fstab"
+_bootmount: cfg_root _config
+ # mkdir -m 1730 "$${CFGROOT}/var/spool/cron/crontabs/"
+ # chroot "$${CFGROOT}" chgrp crontab "/var/spool/cron/crontabs/"
+ printf '@reboot mkdir -m755 /boot\n' >>"$${CFGROOT}/var/spool/cron/crontabs/root"
+ chmod 600 "$${CFGROOT}/var/spool/cron/crontabs/root"
+ printf '/lib/live/mount/medium /boot/ bind auto,bind 0 0\n' >"$${CFGROOT}/etc/fstab"