]> git.plutz.net Git - blast/blob - oktopus.mk
config for test on 5inch mobile rig
[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,display_ws5inch
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 wifi=Layer9
43 wifipass=AllePriesterSaufenTequilaNachDerPredigt
44
45 ## Timezone as offered by Debians tzdata selection
46 timezone=Europe/Berlin
47
48 ## Comma separated list of locales, first one will become default locale
49 locales=en_US.UTF-8
50
51 ## If nodm is installed, you can choose a user to login automatically
52 ## If no user is given here, then nodm will default to root
53
54 ## In nodm, use full screen chromium web browser as session
55 webui=http://localhost/
56
57 ## When using NIS modules the directory server should be given
58 # nis_server=nismaster
59
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
64 approxhost := localhost:9999
65
66 .PHONY: _oktopus_maskjournal
67 _config: _oktopus_maskjournal ${CFGROOT}/opt/demo.py
68
69 img_mount/opt/demo.py: oktopus_raspberry/ ${CFGROOT} _copy
70         cp "$</demo3.py" "$@"
71         cp "$</demo4.py" "$@"
72
73 oktopus_raspberry/:
74         [ -d oktopus_raspberry ] || git clone https://git.tools.f4.htw-berlin.de/sliublin/oktopus_raspberry.git "$@"
75
76 _oktopus_maskjournal: ${CFGROOT} _copy
77         # mkdir -p "$${CFGROOT}/etc/systemd/system/"
78         ln -sf /dev/null "$${CFGROOT}/etc/systemd/system/systemd-journald.service"
79         ln -sf /dev/null "$${CFGROOT}/etc/systemd/system/systemd-timesyncd.service"