1 ## Choose only on of the possible target types
6 ## Image size in MB. Needs to be able to hold all software.
10 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
12 ## Debian release, so far only stretch has been tested
15 ## Comma separated list of config modules from modules/ directory
16 modules=nodm,xfce,live #,approx
18 ## Hostname for the generated machine
21 ## Root password will be salted and encrypted in image
24 ## The corresponding .pub file for the given rootkey will be applied as
25 ## SSH login file for the root user.
26 ## If the pub file is not found, a new key pair will be generated
29 ## Comma separated list of users to be set up.
30 ## User logins will start out with an empty password
31 ## If the live module is in use, users will also be added to the sudo group
35 ## Wifi configuration, if a Wifi password is given, WPA encryption will be used
36 ## without the password, the system will try to connect to an open wifi
37 #wifi=berlin.freifunk.net
41 ## Timezone as offered by Debians tzdata selection
42 timezone=Europe/Berlin
44 ## Comma separated list of locales, first one will become default locale
45 locales=de_DE.UTF-8 #,en_US.UTF-8
49 ## If nodm is installed, you can choose a user to login automatically
50 ## If no user is given here, then nodm will default to root
53 ## In nodm, use full screen chromium web browser as session
54 # webui=http://localhost/
56 ## When using NIS modules the directory server should be given
57 # nis_server=nismaster
59 ## If the approxmodule is enabled, then one (and only one) apt-source
60 ## can be choosen to install packages from
61 ## See modules/approx.mk if you need more flexibility
62 # approx=http://localhost:9000/debian
64 .PHONY: _live_initrd _favorites _bootmount
65 _config: _live_initrd _favorites
66 _isosquash: _bootmount
67 _live_initrd: cfg_root _live_modules
68 # printf '%s\n' "isofs" "squashfs" "ata_generic" "usb_storage" "sr_mod" "mmc_block" >>"$${CFGROOT}/etc/initramfs-tools/modules"
69 sed -i 's;^MODULES=.*$$;MODULES=most;' "$${CFGROOT}/etc/initramfs-tools/initramfs.conf"
71 _config: cfg_root/usr/share/kxmlgui5/dolphin/dolphinui.rc
73 cfg_root/usr/share/kxmlgui5/dolphin/dolphinui.rc: cfg_root _xfce
75 printf '%s\n' '<!DOCTYPE kpartgui SYSTEM "kpartgui.dtd">' \
76 '<kpartgui name="dolphin" version="21">' \
77 '<ActionProperties scheme="Default">' \
78 '<Action name="new_tab" shortcut="Ctrl+T; "/>' \
79 '</ActionProperties>' \
84 printf 'favorites=libreoffice-startcenter.desktop,firefox-esr.desktop,xfce4-terminal.desktop,org.kde.dolphin.desktop,mousepad.desktop,synaptic.desktop,aqemu.desktop,gparted.desktop' \
85 >"$${CFGROOT}/etc/xdg/xfce4/panel/whiskermenu-10.rc"
87 _bootmount: cfg_root _config
88 # mkdir -m 1730 "$${CFGROOT}/var/spool/cron/crontabs/"
89 # chroot "$${CFGROOT}" chgrp crontab "/var/spool/cron/crontabs/"
90 printf '@reboot mkdir -m755 /boot\n' >>"$${CFGROOT}/var/spool/cron/crontabs/root"
91 chmod 600 "$${CFGROOT}/var/spool/cron/crontabs/root"
92 printf '/lib/live/mount/medium /boot/ bind auto,bind 0 0\n' >"$${CFGROOT}/etc/fstab"