]> git.plutz.net Git - blast/blob - live.mk
include ncat
[blast] / live.mk
1 ## Choose only on of the possible target types
2 # image=disk.img
3 # squash=rootfs.squash
4 iso=live.iso
5
6 ## Image size in MB. Needs to be able to hold all software.
7 # imagesize=3072
8
9 ## Additional packages
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
11
12 ## Debian release, so far only stretch has been tested
13 release=buster
14
15 ## Comma separated list of config modules from modules/ directory
16 modules=nodm,xfce,live #,approx
17
18 ## Hostname for the generated machine
19 hostname=live
20
21 ## Root password will be salted and encrypted in image
22 rootpass=root
23
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
27 # rootkey=image_ssh
28
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
32 # users=adam,steve
33 users=live
34
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
38 # wifi=MyWiFi
39 # wifipass=P4ssW0rD
40
41 ## Timezone as offered by Debians tzdata selection
42 timezone=Europe/Berlin
43
44 ## Comma separated list of locales, first one will become default locale
45 locales=de_DE.UTF-8 #,en_US.UTF-8
46
47 keyboard=de
48
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
51 nodm_user=live
52
53 ## In nodm, use full screen chromium web browser as session
54 # webui=http://localhost/
55
56 ## When using NIS modules the directory server should be given
57 # nis_server=nismaster
58
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
63
64 .PHONY: _live_initrd _favorites #_kbdlayout #_bootmount
65 _config: _live_initrd _favorites #_kbdlayout #_bootmount
66 _live_initrd: cfg_root _live_modules
67         # printf '%s\n' "isofs" "squashfs" "ata_generic" "usb_storage" "sr_mod" "mmc_block" >>"$${CFGROOT}/etc/initramfs-tools/modules"
68         sed -i 's;^MODULES=.*$$;MODULES=most;' "$${CFGROOT}/etc/initramfs-tools/initramfs.conf"
69
70 _config: cfg_root/usr/share/kxmlgui5/dolphin/dolphinui.rc
71
72 cfg_root/usr/share/kxmlgui5/dolphin/dolphinui.rc: cfg_root _xfce
73         mkdir -p "$(dir $@)"
74         printf '%s\n'   '<!DOCTYPE kpartgui SYSTEM "kpartgui.dtd">' \
75                         '<kpartgui name="dolphin" version="21">' \
76                         '<ActionProperties scheme="Default">' \
77                         '<Action name="new_tab" shortcut="Ctrl+T; "/>' \
78                         '</ActionProperties>' \
79                         '</kpartgui>' \
80                 >$@
81
82 _favorites: _xfce
83         printf 'favorites=libreoffice-startcenter.desktop,firefox-esr.desktop,xfce4-terminal.desktop,org.kde.dolphin.desktop,mousepad.desktop,synaptic.desktop,aqemu.desktop,gparted.desktop' \
84                 >"$${CFGROOT}/etc/xdg/xfce4/panel/whiskermenu-10.rc"
85
86 # _kbdlayout: cfg_root
87 #       sed -Ei 's;^XKBLAYOUT=.*$$;XKBLAYOUT="de";;' "$${CFGROOT}/etc/default/keyboard"
88
89 # _bootmount: cfg_root
90 #       printf '/lib/live/mount/medium  /boot/  bind    auto,bind       0 0\n' >>"$${CFGROOT}/etc/fstab"