fix(linux64-jump): disable console blanking after kexec

This commit is contained in:
vxtls 2026-03-18 08:40:57 -04:00
parent 67384bfb73
commit 80f406163f

View file

@ -21,10 +21,10 @@ sync
mkdir -p /etc mkdir -p /etc
if [ "${BARE_METAL}" = True ]; then if [ "${BARE_METAL}" = True ]; then
kexec -l "${current_kernel}" \ kexec -l "${current_kernel}" \
--append="root=/dev/sda1 init=/init rw rootwait" --append="root=/dev/sda1 init=/init rw rootwait consoleblank=0"
else else
kexec -l "${current_kernel}" --console-serial \ kexec -l "${current_kernel}" --console-serial \
--append="console=ttyS0 root=/dev/sda1 init=/init rw rootwait" --append="console=ttyS0 root=/dev/sda1 init=/init rw rootwait consoleblank=0"
fi fi
sync sync
echo u > /proc/sysrq-trigger || true echo u > /proc/sysrq-trigger || true