@@ -200,6 +200,9 Install Xorg open-source X Window System. | |||||
200 | ##### `ENABLE_WM`="" |
|
200 | ##### `ENABLE_WM`="" | |
201 | 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 `rpi23-gen-image.sh` script has been tested with the following list of window managers: `blackbox`, `openbox`, `fluxbox`, `jwm`, `dwm`, `xfce4`, `awesome`. |
|
201 | 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 `rpi23-gen-image.sh` script has been tested with the following list of window managers: `blackbox`, `openbox`, `fluxbox`, `jwm`, `dwm`, `xfce4`, `awesome`. | |
202 |
|
202 | |||
|
203 | ##### `ENABLE_SYSVINIT`=false | |||
|
204 | Support for halt,init,poweroff,reboot,runlevel,shutdown,telinit commands | |||
|
205 | ||||
203 | --- |
|
206 | --- | |
204 |
|
207 | |||
205 | #### Advanced system features: |
|
208 | #### Advanced system features: |
@@ -176,6 +176,7 ENABLE_USER=${ENABLE_USER:=true} | |||||
176 | USER_NAME=${USER_NAME:="pi"} |
|
176 | USER_NAME=${USER_NAME:="pi"} | |
177 | ENABLE_ROOT=${ENABLE_ROOT:=false} |
|
177 | ENABLE_ROOT=${ENABLE_ROOT:=false} | |
178 | ENABLE_QEMU=${ENABLE_QEMU:=false} |
|
178 | ENABLE_QEMU=${ENABLE_QEMU:=false} | |
|
179 | ENABLE_SYSVINIT=${ENABLE_SYSVINIT:=false} | |||
179 |
|
180 | |||
180 | # SSH settings |
|
181 | # SSH settings | |
181 | SSH_ENABLE_ROOT=${SSH_ENABLE_ROOT:=false} |
|
182 | SSH_ENABLE_ROOT=${SSH_ENABLE_ROOT:=false} | |
@@ -244,6 +245,9 CHROOT_SCRIPTS=${CHROOT_SCRIPTS:=""} | |||||
244 | APT_INCLUDES=${APT_INCLUDES:=""} |
|
245 | APT_INCLUDES=${APT_INCLUDES:=""} | |
245 | APT_INCLUDES="${APT_INCLUDES},apt-transport-https,apt-utils,ca-certificates,debian-archive-keyring,dialog,sudo,systemd,sysvinit-utils" |
|
246 | APT_INCLUDES="${APT_INCLUDES},apt-transport-https,apt-utils,ca-certificates,debian-archive-keyring,dialog,sudo,systemd,sysvinit-utils" | |
246 |
|
247 | |||
|
248 | #Packages to exclude from chroot build environment | |||
|
249 | APT_EXCLUDES=${APT_EXCLUDES:=""} | |||
|
250 | ||||
247 | # Packages required for bootstrapping |
|
251 | # Packages required for bootstrapping | |
248 | REQUIRED_PACKAGES="debootstrap debian-archive-keyring qemu-user-static binfmt-support dosfstools rsync bmap-tools whois git bc psmisc dbus sudo" |
|
252 | REQUIRED_PACKAGES="debootstrap debian-archive-keyring qemu-user-static binfmt-support dosfstools rsync bmap-tools whois git bc psmisc dbus sudo" | |
249 | MISSING_PACKAGES="" |
|
253 | MISSING_PACKAGES="" | |
@@ -253,6 +257,11 COMPILER_PACKAGES="" | |||||
253 |
|
257 | |||
254 | set +x |
|
258 | set +x | |
255 |
|
259 | |||
|
260 | #If init and systemd-sysv are wanted e.g. halt/reboot/shutdown scripts | |||
|
261 | if [ "$ENABLE_SYSVINIT" = false ] ; then | |||
|
262 | APT_EXCLUDES="${APT_EXCLUDES},init,systemd-sysv" | |||
|
263 | fi | |||
|
264 | ||||
256 | # Set Raspberry Pi model specific configuration |
|
265 | # Set Raspberry Pi model specific configuration | |
257 | if [ "$RPI_MODEL" = 0 ] ; then |
|
266 | if [ "$RPI_MODEL" = 0 ] ; then | |
258 | DTB_FILE=${RPI0_DTB_FILE} |
|
267 | DTB_FILE=${RPI0_DTB_FILE} |
General Comments 0
Vous devez vous connecter pour laisser un commentaire.
Se connecter maintenant