]> git.plutz.net Git - blast/blob - raspi_elok.mk
Raspberry Pi image for presentation display in Elok youth club
[blast] / raspi_elok.mk
1 ## Choose only on of the possible target types
2 # image=disk.img
3 # squash=rootfs.squash
4 raspi=raspi_elok.img
5
6 ## Image size in MB. Needs to be able to hold all software.
7 imagesize=3072
8
9 ## Additional packages
10 packages=chromium-browser,okular,libreoffice-impress,ssh
11 packages=supertuxkart/buster,libc-bin/buster,libc6/buster,libopenal1/buster,locales/buster
12
13 ## Debian release, so far only stretch has been tested
14 release=stretch
15
16 ## Comma separated list of config modules from modules/ directory
17 modules=approx,nodm,xfce,autoresize
18
19 ## Hostname for the generated machine
20 hostname=pi_elok
21
22 ## Root password will be salted and encrypted in image
23 rootpass=root
24
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
28 # rootkey=image_ssh
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 users=elok
35
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
39 # wifi=MyWiFi
40 # wifipass=P4ssW0rD
41
42 ## Timezone as offered by Debians tzdata selection
43 timezone=Europe/Berlin
44
45 ## Comma separated list of locales, first one will become default locale
46 locales=de_DE.UTF-8,en_US.UTF-8
47
48 ## If nodm is installed, you can choose a user to login automatically
49 ## If no user is given here, then nodm will default to root
50 nodm_user=elok
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 define stk_config :=
64 <?xml version="1.0"?>
65 <stkconfig version="8" >
66     <Video
67         width="1920"
68         height="1080"
69         fullscreen="true"
70         show_fps="true"
71         max_fps="60"
72         enable_high_definition_textures="0"
73         max_texture_size="128"
74     >
75     </Video>
76     <everything_unlocked value="true" />
77
78 </stkconfig>
79
80 endef
81 export stk_config
82
83 _config: ${CFGROOT}/etc/xdg/.config/supertuxkart/0.8.2/config.xml
84 ${CFGROOT}/etc/xdg/.config/supertuxkart/0.8.2/config.xml: ${CFGROOT}
85         mkdir -p "$${CFGROOT}"/etc/xdg/.config/supertuxkart/0.8.2/
86         printf  '%s\n' "$${stk_config}" >"$${CFGROOT}"/etc/xdg/.config/supertuxkart/0.8.2/config.xml