##// END OF EJS Templates
Added: ENABLE_SPLASH,LOGO, and SILENT_BOOT
drtyhlpr -
r539:47183035fa86
parent child
Show More
@@ -273,6 +273,15 Create an initramfs that that will be loaded during the Linux startup process. `
273 273 ##### `ENABLE_IFNAMES`=true
274 274 Enable automatic assignment of predictable, stable network interface names for all local Ethernet, WLAN interfaces. This might create complex and long interface names.
275 275
276 ##### `ENABLE_SPLASH`=true
277 Enable default Raspberry Pi boot up rainbow splash screen.
278
279 ##### `ENABLE_LOGO`=true
280 Enable default Raspberry Pi console logo (image of four raspberries in the top left corner).
281
282 ##### `ENABLE_SILENT_BOOT`=false
283 Set the verbosity of console messages shown during boot up to a strict minimum.
284
276 285 ##### `DISABLE_UNDERVOLT_WARNINGS`=
277 286 Disable RPi2/3 under-voltage warnings and overlays. Setting the parameter to `1` will disable the warning overlay. Setting it to `2` will additionally allow RPi2/3 turbo mode when low-voltage is present.
278 287
@@ -74,9 +74,24 else
74 74 CMDLINE="${CMDLINE} net.ifnames=1"
75 75 fi
76 76
77 # Disable Raspberry Pi console logo
78 if [ "$ENABLE_LOGO" = false ] ; then
79 CMDLINE="${CMDLINE} logo.nologo"
80 fi
81
82 # Strictly limit verbosity of boot up console messages
83 if [ "$ENABLE_SILENT_BOOT" = true ] ; then
84 CMDLINE="${CMDLINE} quiet loglevel=0 rd.systemd.show_status=auto rd.udev.log_priority=0"
85 fi
86
77 87 # Install firmware config
78 88 install_readonly files/boot/config.txt "${BOOT_DIR}/config.txt"
79 89
90 # Disable Raspberry Pi console logo
91 if [ "$ENABLE_SLASH" = false ] ; then
92 echo "disable_splash=1" >> "${BOOT_DIR}/config.txt"
93 fi
94
80 95 # Locks CPU frequency at maximum
81 96 if [ "$ENABLE_TURBO" = true ] ; then
82 97 echo "force_turbo=1" >> "${BOOT_DIR}/config.txt"
@@ -170,6 +170,9 ENABLE_IPTABLES=${ENABLE_IPTABLES:=false}
170 170 ENABLE_SPLITFS=${ENABLE_SPLITFS:=false}
171 171 ENABLE_INITRAMFS=${ENABLE_INITRAMFS:=false}
172 172 ENABLE_IFNAMES=${ENABLE_IFNAMES:=true}
173 ENABLE_SPLASH=${ENABLE_SPLASH:=true}
174 ENABLE_LOGO=${ENABLE_LOGO:=true}
175 ENABLE_SILENT_BOOT=${ENABLE_SILENT_BOOT=false}
173 176 DISABLE_UNDERVOLT_WARNINGS=${DISABLE_UNDERVOLT_WARNINGS:=}
174 177
175 178 # Kernel compilation settings
General Comments 0
Vous devez vous connecter pour laisser un commentaire. Se connecter maintenant