]> git.plutz.net Git - blast/blob - oktopus.mk
set up mount dir before img_mount
[blast] / oktopus.mk
1 ## Choose only on of the possible target types
2 # image=disk.img
3 # squash=rootfs.squash
4 raspi=oktopus.img
5
6 ## Image size in MB. Needs to be able to hold all software.
7 imagesize=1792
8
9 ## Additional packages
10 packages=python-tk,python-spidev,python-pygame,python-bluez,python-rpi.gpio,ckermit
11
12 ## Debian release, so far only stretch has been tested
13 release=stretch
14
15 ## Comma separated list of config modules from modules/ directory
16 modules=approx,remo2hbo,autoresize
17
18 ## Hostname for the generated machine
19 hostname=oktopus
20
21 ## Root password will be salted and encrypted in image
22 rootpass=plasmakocher
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 rootkey=oktopus
29
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
33 # users=adam,steve
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 wifi="funky Kater"
41 wifipass="katerholzig"
42
43 ## Timezone as offered by Debians tzdata selection
44 timezone=Europe/Berlin
45
46 ## Comma separated list of locales, first one will become default locale
47 locales=en_US.UTF-8
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
52 ## In nodm, use full screen chromium web browser as session
53 webui=http://localhost/
54
55 ## When using NIS modules the directory server should be given
56 # nis_server=nismaster
57
58 ## If the approxmodule is enabled, then one (and only one) apt-source
59 ## can be choosen to install packages from
60 ## See modules/approx.mk if you need more flexibility
61 # approx=http://localhost:9000/debian
62
63 .PHONY: _oktopus_maskjournal
64 _config: _oktopus_maskjournal ${CFGROOT}/opt/demo.py
65
66 img_mount/opt/demo.py: oktopus_raspberry/ ${CFGROOT}
67         cp "$</demo3.py" "$@"
68         cp "$</demo4.py" "$@"
69
70 oktopus_raspberry/:
71         git clone https://git.tools.f4.htw-berlin.de/sliublin/oktopus_raspberry.git "$@"
72
73 _oktopus_maskjournal: ${CFGROOT}
74         mkdir -p "$${CFGROOT}/etc/systemd/system/"
75         ln -sf /dev/null "$${CFGROOT}/etc/systemd/system/systemd-journald.service"
76         ln -sf /dev/null "$${CFGROOT}/etc/systemd/system/systemd-timesyncd.service"