Implement splash screen feature.

This commit is contained in:
2025-10-05 03:12:00 -07:00
parent 779a645dec
commit 3101829103
101 changed files with 30504 additions and 6 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 MiB

View File

@@ -71,6 +71,7 @@ if [ "${SKIP_KERNEL_BUILD}" != "1" ]; then
copy_from_image "${DOCKER_PREFIX}/sprout-kernel-${TARGET_ARCH}" "kernel.efi" "${FINAL_DIR}/kernel.efi"
cp "hack/configs/${SPROUT_CONFIG_NAME}.sprout.toml" "${FINAL_DIR}/sprout.toml"
cp "hack/assets/edera-splash.png" "${FINAL_DIR}/edera-splash.png"
fi
if [ "${SKIP_VM_BUILD}" != "1" ]; then
@@ -100,6 +101,7 @@ if [ "${SKIP_SPROUT_BUILD}" != "1" ]; then
cp "${FINAL_DIR}/shell.efi" "${FINAL_DIR}/efi/EFI/BOOT/SHELL.EFI"
fi
cp "${FINAL_DIR}/sprout.toml" "${FINAL_DIR}/efi/SPROUT.TOML"
cp "${FINAL_DIR}/edera-splash.png" "${FINAL_DIR}/efi/EDERA-SPLASH.PNG"
fi
if [ "${SKIP_BOOT_BUILD}" != "1" ]; then

View File

@@ -6,6 +6,10 @@ default-options = "tty=hvc0"
[actions.welcome]
print.text = "Welcome to Sprout!"
[actions.splash]
splash.image = "edera-splash.png"
splash.time = 5
[actions.chainload-kernel]
chainload.path = "$path"
chainload.options = ["$default-options"]
@@ -17,4 +21,4 @@ entry.actions = ["chainload-kernel"]
values.name = ["kernel.efi"]
[[phases.startup]]
actions = ["welcome"]
actions = ["splash", "welcome"]