##// END OF EJS Templates
APT_exclude enhancment
Unknown -
r275:71dc766609bd
parent child
Show More
@@ -200,6 +200,9 Install Xorg open-source X Window System.
200 200 ##### `ENABLE_WM`=""
201 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 208 #### Advanced system features:
@@ -176,6 +176,7 ENABLE_USER=${ENABLE_USER:=true}
176 176 USER_NAME=${USER_NAME:="pi"}
177 177 ENABLE_ROOT=${ENABLE_ROOT:=false}
178 178 ENABLE_QEMU=${ENABLE_QEMU:=false}
179 ENABLE_SYSVINIT=${ENABLE_SYSVINIT:=false}
179 180
180 181 # SSH settings
181 182 SSH_ENABLE_ROOT=${SSH_ENABLE_ROOT:=false}
@@ -244,6 +245,9 CHROOT_SCRIPTS=${CHROOT_SCRIPTS:=""}
244 245 APT_INCLUDES=${APT_INCLUDES:=""}
245 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 251 # Packages required for bootstrapping
248 252 REQUIRED_PACKAGES="debootstrap debian-archive-keyring qemu-user-static binfmt-support dosfstools rsync bmap-tools whois git bc psmisc dbus sudo"
249 253 MISSING_PACKAGES=""
@@ -253,6 +257,11 COMPILER_PACKAGES=""
253 257
254 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 265 # Set Raspberry Pi model specific configuration
257 266 if [ "$RPI_MODEL" = 0 ] ; then
258 267 DTB_FILE=${RPI0_DTB_FILE}
General Comments 0
Vous devez vous connecter pour laisser un commentaire. Se connecter maintenant