onecloud: Enable Plymouth (#4228)

This commit is contained in:
hzyitc
2022-09-25 20:56:54 +08:00
committed by GitHub
parent 2f6b77cfc3
commit d57777caad
2 changed files with 9 additions and 0 deletions

View File

@@ -9,3 +9,5 @@ BOOTENV_FILE="onecloud.txt"
BOOTSIZE="200"
BOOTFS_TYPE="fat"
BOOT_LOGO=desktop

View File

@@ -41,6 +41,13 @@ if test -n "${consoleargs}"; test $? != 0; then
test "${console}" = "display" || test "${console}" = "both" && setenv consoleargs "${consoleargs} console=tty1"
test "${console}" = "serial" || test "${console}" = "both" && setenv consoleargs "${consoleargs} console=ttyAML0,115200n8"
setenv consoleargs "${consoleargs} no_console_suspend consoleblank=0"
test -n "${bootlogo}" || setenv bootlogo "false"
if test "${bootlogo}" = "true"; then
setenv consoleargs "${consoleargs} splash plymouth.ignore-serial-consoles"
else
setenv consoleargs "${consoleargs} splash=verbose"
fi
fi
# Boot Arguments