diff --git a/kernel/terminal.cpp b/kernel/terminal.cpp index 51faad5..c54696c 100644 --- a/kernel/terminal.cpp +++ b/kernel/terminal.cpp @@ -214,7 +214,13 @@ void KernelPanic(const char *format, ...) { StartDebugOutput(); - EsPrint("\n--- System Error ---\n* If you are using an emulator, please capture a screenshot of the entire window and report the error. *\n>> "); + EsPrint("\n--- System Error ---\n"); + EsPrint("\n========================================================================================================\n"); + EsPrint("| If you are using an emulator, please capture a screenshot of the entire window and report the error. |\n"); + EsPrint("| If you are using Qemu, press Ctrl+Alt+2, then type \"cpu %d\", then \"dump-guest-memory -p mem.dat\". |\n", + GetLocalStorage() ? (GetLocalStorage()->archCPU ? GetLocalStorage()->archCPU->apicID : 0) : 0); + EsPrint("========================================================================================================\n"); + EsPrint("\n>> "); va_list arguments; va_start(arguments, format); diff --git a/util/automation/build.sh b/util/automation/build.sh index 16e9411..bd7073a 100755 --- a/util/automation/build.sh +++ b/util/automation/build.sh @@ -92,6 +92,7 @@ cp essence/bin/MPC\ License.txt Essence/Licenses/MPC.txt # Compress the result. mv ova/Essence.ova Essence/ mv essence/bin/drive Essence/ +echo $COMMIT > Essence/ tar -cJf Essence.tar.xz Essence/ echo $COMMIT > essence/bin/commit.txt rm -rf essence/cross essence/.git essence/bin/cache essence/bin/freetype essence/bin/harfbuzz essence/bin/musl essence/root/Applications/POSIX/lib