]> git.plutz.net Git - blast/blob - retropie.mk
da650d0f275bb0907064e7e3e03a0b9124f2667c
[blast] / retropie.mk
1 ## Choose only on of the possible target types
2 # image=disk.img
3 # squash=rootfs.squash
4 raspi=retropie.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,ssh,lsb-release
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,display_ws5inch
18 approxhost := localhost:9999
19
20 ## Hostname for the generated machine
21 hostname=retropie
22
23 ## Root password will be salted and encrypted in image
24 rootpass=root
25
26 ## The corresponding .pub file for the given rootkey will be applied as
27 ## SSH login file for the root user.
28 ## If the pub file is not found, a new key pair will be generated
29 # rootkey=image_ssh
30
31 ## Comma separated list of users to be set up.
32 ## User logins will start out with an empty password
33 ## If the live module is in use, users will also be added to the sudo group
34 # users=adam,steve
35 users=rpi
36
37 ## Wifi configuration, if a Wifi password is given, WPA encryption will be used
38 ## without the password, the system will try to connect to an open wifi
39 wifi=berlin.freifunk.net
40 # wifi=MyWiFi
41 # wifipass=P4ssW0rD
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=de_DE.UTF-8,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 nodm_user=rpi
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 define stk_config :=
65 <?xml version="1.0"?>
66 <stkconfig version="8" >
67     <Video
68         width="1920"
69         height="1080"
70         fullscreen="true"
71         show_fps="true"
72         max_fps="60"
73         enable_high_definition_textures="0"
74         max_texture_size="128"
75     >
76     </Video>
77     <everything_unlocked value="true" />
78
79 </stkconfig>
80
81 endef
82 export stk_config
83
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
87
88 # _config: ${CFGROOT}/etc/xdg/.config/supertuxkart/0.8.2/config.xml
89
90 RetroPie-Setup/:
91         [ ! -d "$@" ] && git clone --depth=1 https://github.com/RetroPie/RetroPie-Setup.git
92
93 ${FGROOT}/opt/RetroPie-Setup/: RetroPie-Setup/
94         cp -au "$<" "$@"
95
96 _config: ${FGROOT}/opt/RetroPie-Setup/