@@ -14,6 +14,7 The script accepts certain command-line parameters to enable or disable specific | |||||
14 | ```shell |
|
14 | ```shell | |
15 | ENABLE_UBOOT=true ./rpi2-gen-image.sh |
|
15 | ENABLE_UBOOT=true ./rpi2-gen-image.sh | |
16 | ENABLE_CONSOLE=false ENABLE_IPV6=false ./rpi2-gen-image.sh |
|
16 | ENABLE_CONSOLE=false ENABLE_IPV6=false ./rpi2-gen-image.sh | |
|
17 | ENABLE_WM=xfce4 ENABLE_FBTURBO=true ENABLE_MINBASE=true ./rpi2-gen-image.sh | |||
17 | ENABLE_HARDNET=true ENABLE_IPTABLES=true /rpi2-gen-image.sh |
|
18 | ENABLE_HARDNET=true ENABLE_IPTABLES=true /rpi2-gen-image.sh | |
18 | APT_SERVER=ftp.de.debian.org APT_PROXY="http://127.0.0.1:3142/" ./rpi2-gen-image.sh |
|
19 | APT_SERVER=ftp.de.debian.org APT_PROXY="http://127.0.0.1:3142/" ./rpi2-gen-image.sh | |
19 | ENABLE_MINBASE=true ./rpi2-gen-image.sh |
|
20 | ENABLE_MINBASE=true ./rpi2-gen-image.sh | |
@@ -64,8 +65,8 Install and enable D-Bus message bus. Please note that systemd should work witho | |||||
64 | ##### `ENABLE_XORG`=false |
|
65 | ##### `ENABLE_XORG`=false | |
65 | Install Xorg open-source X Window System. |
|
66 | Install Xorg open-source X Window System. | |
66 |
|
67 | |||
67 |
##### `ENABLE_ |
|
68 | ##### `ENABLE_WM`="" | |
68 |
Install |
|
69 | Install a user defined window manager for the X Window System. To make sure all X related package dependencies are getting installed `ENABLE_XORG` will automatically get enabled if `ENABLE_WM` is used. The `rpi2-gen-image.sh` script has been tested with the following list of window managers: `blackbox`, `openbox`, `fluxbox`, `jwm`, `dwm`, `xfce4`, `awesome`. | |
69 |
|
70 | |||
70 | #### Advanced sytem features: |
|
71 | #### Advanced sytem features: | |
71 | ##### `ENABLE_MINBASE`=false |
|
72 | ##### `ENABLE_MINBASE`=false |
@@ -59,7 +59,7 ENABLE_DBUS=${ENABLE_DBUS:=true} | |||||
59 | ENABLE_HWRANDOM=${ENABLE_HWRANDOM:=true} |
|
59 | ENABLE_HWRANDOM=${ENABLE_HWRANDOM:=true} | |
60 | ENABLE_MINGPU=${ENABLE_MINGPU:=false} |
|
60 | ENABLE_MINGPU=${ENABLE_MINGPU:=false} | |
61 | ENABLE_XORG=${ENABLE_XORG:=false} |
|
61 | ENABLE_XORG=${ENABLE_XORG:=false} | |
62 |
ENABLE_ |
|
62 | ENABLE_WM=${ENABLE_WM:=""} | |
63 |
|
63 | |||
64 | # Advanced settings |
|
64 | # Advanced settings | |
65 | ENABLE_MINBASE=${ENABLE_MINBASE:=false} |
|
65 | ENABLE_MINBASE=${ENABLE_MINBASE:=false} | |
@@ -162,9 +162,9 if [ "$ENABLE_FBTURBO" = true ] ; then | |||||
162 | ENABLE_XORG=true |
|
162 | ENABLE_XORG=true | |
163 | fi |
|
163 | fi | |
164 |
|
164 | |||
165 | # Add fluxbox package with eterm |
|
165 | # Add user defined window manager package | |
166 |
if [ "$ENABLE_ |
|
166 | if [ -n "$ENABLE_WM" ] ; then | |
167 |
APT_INCLUDES="${APT_INCLUDES}, |
|
167 | APT_INCLUDES="${APT_INCLUDES},${ENABLE_WM}" | |
168 |
|
168 | |||
169 | # Enable xorg package dependencies |
|
169 | # Enable xorg package dependencies | |
170 | ENABLE_XORG=true |
|
170 | ENABLE_XORG=true |
General Comments 0
Vous devez vous connecter pour laisser un commentaire.
Se connecter maintenant