3 packages=aqemu,debian-installer-launcher,debootstrap,dnsutils,dosfstools,exfat-fuse,exfat-utils,firefox-esr,firefox-esr-l10n-de,git,gparted,make,man-db,manpages-de,mousepad,ncat,network-manager-gnome,ntfs-3g,xpdf,pavucontrol,pulseaudio,pulseaudio-module-bluetooth,qemu-kvm,qemu-system-gui,qemu-utils,ssh,synaptic,telnet,tmux,vlc,xinput
4 packages+=linux-image-amd64
5 packages+=firmware-atheros,firmware-brcm80211,firmware-iwlwifi,firmware-misc-nonfree
6 # packages+=firmware-ipw2x00
11 deb http://cdn.debian.net/debian ${release} main non-free
12 deb http://cdn.debian.net/debian ${release}-backports main
13 deb http://deb.debian.org/debian-security/ ${release}-security main
16 modules=nodm,xfce,live,approx
23 timezone=Europe/Berlin
24 locales=de_DE.UTF-8 #,en_US.UTF-8
27 approx=http://localhost:9000/debian
31 _live_initrd: cfg_root _live_modules
32 # printf '%s\n' "isofs" "squashfs" "ata_generic" "usb_storage" "sr_mod" "mmc_block" >>"$${CFGROOT}/etc/initramfs-tools/modules"
33 sed -i 's;^MODULES=.*$$;MODULES=most;' "$${CFGROOT}/etc/initramfs-tools/initramfs.conf"
37 printf 'favorites=debian-installer-launcher.desktop,libreoffice-startcenter.desktop,firefox-esr.desktop,xfce4-terminal.desktop,thunar.desktop,mousepad.desktop,synaptic.desktop,aqemu.desktop,gparted.desktop' \
38 >"$${CFGROOT}/etc/xdg/xfce4/panel/whiskermenu-10.rc"
40 # Place some helpers in bash history ;-)
41 _config: cfg_root/home/live/.bash_history
42 cfg_root/home/live/.bash_history: cfg_root _users
43 mkdir "$${CFGROOT}/home/live"
45 'sudo git clone https://git.plutz.net/git/blast /mnt/blast' \
46 'for m in /proc /sys /dev /run; do sudo mount -o rbind $$m /mnt/$$m; done' \
48 chroot "$${CFGROOT}" chown live:live -R /home/live
50 # Fake gksu/gksudo, because live password is empty anyway, needed for installer
51 _config: cfg_root/usr/local/bin/gksu
52 cfg_root/usr/local/bin/gksu:
53 ln -s /usr/bin/sudo $@
54 ln -s /usr/bin/sudo $@do
57 # include debian installer
58 _iso_image: iso_root/install/gtk/initrd.gz
59 iso_root/install/gtk/initrd.gz: /usr/lib/debian-installer/images/10/amd64/gtk/debian-installer/amd64/initrd.gz
63 # Make boot folder available for browsing and for debian-installer
64 # Need to create boot folder in ramdrive because it will not be contained in squashfs
66 _isosquash: _bootmount
67 _bootmount: cfg_root _config
68 printf '@reboot mkdir -m755 /boot\n' >>"$${CFGROOT}/var/spool/cron/crontabs/root"
69 chmod 600 "$${CFGROOT}/var/spool/cron/crontabs/root"
71 '/run/live/medium /boot/ bind auto,bind' \
72 '/run/live/medium /lib/live/mount/medium bind auto,bind' \
73 >"$${CFGROOT}/etc/fstab"