[PATCH master] startup: fix infinite loop falling into menu without /env/menu/mainmenu
Sascha Hauer
s.hauer at pengutronix.de
Wed Jan 8 06:07:18 PST 2025
On Tue, 07 Jan 2025 12:08:25 +0100, Ahmad Fatoum wrote:
> If MENUFILE (/env/menu/mainmenu) doesn't exist, an infinite loop will
> keep executing this non-existent file.
>
> If this happens, let's exit the infinite loop and hang barebox instead.
>
> Previously we dropped to a shell in this situation, but this was changed
> as menu-only boots should not be circumventable and drop to a shell due
> to errors.
>
> [...]
Applied, thanks!
[1/1] startup: fix infinite loop falling into menu without /env/menu/mainmenu
https://git.pengutronix.de/cgit/barebox/commit/?id=427b037cf323 (link may not be stable)
Best regards,
--
Sascha Hauer <s.hauer at pengutronix.de>
More information about the barebox
mailing list