File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 11kboot (1.0.0) nitrux; urgency=medium
22
33 * Make kboot more robust, safer, and validate variables.
4+ * Adds error checking to ensure kexec stops immediately if the kernel fails to load.
45
56 -- Uri Herrera <uri_herrera@nxos.org> Wed, 10 Dec 2025 07:48:00 -0500
67
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ set -eu
3333
3434TOOL_NAME=" Kernel Boot"
3535TOOL_SHRT_NAME=" kboot"
36- TOOL_VERSION=" 0 .0.9 "
36+ TOOL_VERSION=" 1 .0.0 "
3737VENDOR=' Nitrux Latinoamericana S.C.'
3838FECHA=$( date +%Y)
3939
276276 puts_info " Loading kernel: $KEXEC_VMLINUZ "
277277 puts_info " With initrd: $KEXEC_INITRD "
278278
279- root_kexec -l " $KEXEC_VMLINUZ " --initrd=" $KEXEC_INITRD " --append=" $KERNEL_PARAMETERS "
279+ root_kexec -l " $KEXEC_VMLINUZ " --initrd=" $KEXEC_INITRD " --append=" $KERNEL_PARAMETERS " || exit 1
280+
281+ puts_success " Kernel loaded successfully. Switching now..."
280282 root_kexec -e
281283 ;;
282284 * )
You can’t perform that action at this time.
0 commit comments