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,ssh,gparted,qemu-kvm,mousepad,network-manager-gnome,synaptic,man-db,manpages-de,alsa-utils,pulseaudio,pavucontrol,rdesktop,tmux,debootstrap,ntfs-3g,exfat-utils,exfat-fuse,dosfstools,qemu-system-gui,ncat,make,dnsutils,telnet,debian-installer-launcher,aqemu,qemu-utils,vlc,dolphin,konsole,abiword,gnumeric,gnumeric-plugins-extra,fonts-liberation,aspell-de,frozen-bubble,kpat
11 # packages += ,libreoffice-writer,libreoffice-calc,libreoffice-l10n-de,libreoffice-gnome,hyphen-de,hunspell-de-de-frami
13 ## Debian release, so far only stretch has been tested
16 ## Comma separated list of config modules from modules/ directory
17 modules=nodm,xfce,live #,approx
19 ## Hostname for the generated machine
22 ## Root password will be salted and encrypted in image
25 ## The corresponding .pub file for the given rootkey will be applied as
26 ## SSH login file for the root user.
27 ## If the pub file is not found, a new key pair will be generated
30 ## Comma separated list of users to be set up.
31 ## User logins will start out with an empty password
32 ## If the live module is in use, users will also be added to the sudo group
36 ## Wifi configuration, if a Wifi password is given, WPA encryption will be used
37 ## without the password, the system will try to connect to an open wifi
38 #wifi=berlin.freifunk.net
42 ## Timezone as offered by Debians tzdata selection
43 timezone=Europe/Berlin
45 ## Comma separated list of locales, first one will become default locale
46 locales=de_DE.UTF-8 #,en_US.UTF-8
50 ## If nodm is installed, you can choose a user to login automatically
51 ## If no user is given here, then nodm will default to root
54 ## In nodm, use full screen chromium web browser as session
55 # webui=http://localhost/
57 ## When using NIS modules the directory server should be given
58 # nis_server=nismaster
60 ## If the approxmodule is enabled, then one (and only one) apt-source
61 ## can be choosen to install packages from
62 ## See modules/approx.mk if you need more flexibility
63 # approx=http://localhost:9000/debian
65 .PHONY: _live_initrd _favorites _bootmount
66 _config: _live_initrd _favorites
67 _isosquash: _bootmount
68 _live_initrd: cfg_root _live_modules
69 # printf '%s\n' "isofs" "squashfs" "ata_generic" "usb_storage" "sr_mod" "mmc_block" >>"$${CFGROOT}/etc/initramfs-tools/modules"
70 sed -i 's;^MODULES=.*$$;MODULES=most;' "$${CFGROOT}/etc/initramfs-tools/initramfs.conf"
71 sed -i 's;^COMPRESS=.*$$;COMPRESS=xz;' "$${CFGROOT}/etc/initramfs-tools/initramfs.conf"
73 _config: cfg_root/usr/share/kxmlgui5/dolphin/dolphinui.rc
74 _config: cfg_root/usr/local/bin/gksu
76 cfg_root/usr/share/kxmlgui5/dolphin/dolphinui.rc: cfg_root _xfce
78 printf '%s\n' '<!DOCTYPE kpartgui SYSTEM "kpartgui.dtd">' \
79 '<kpartgui name="dolphin" version="21">' \
80 '<ActionProperties scheme="Default">' \
81 '<Action name="new_tab" shortcut="Ctrl+T; "/>' \
82 '</ActionProperties>' \
86 cfg_root/usr/local/bin/gksu:
87 ln -s /usr/bin/sudo $@
88 ln -s /usr/bin/sudo $@do
91 printf 'favorites=libreoffice-startcenter.desktop,firefox-esr.desktop,xfce4-terminal.desktop,org.kde.dolphin.desktop,mousepad.desktop,synaptic.desktop,aqemu.desktop,gparted.desktop' \
92 >"$${CFGROOT}/etc/xdg/xfce4/panel/whiskermenu-10.rc"
94 _bootmount: cfg_root _config
95 printf '/lib/live/mount/medium /boot/ bind auto,bind 0 0\n' >>"$${CFGROOT}/etc/fstab"