[PATCH 3/3] bootstd: Require HUSH_PARSER for script booting

Simon Glass sjg at chromium.org
Sat May 6 04:03:05 CEST 2023


Armbian uses a script which needs the HUSH parser. It is likely that
other distros will do the same. Enable it by default, just in case.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

 boot/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/boot/Kconfig b/boot/Kconfig
index 8c27f52ec3ed..9882812eecb8 100644
--- a/boot/Kconfig
+++ b/boot/Kconfig
@@ -638,6 +638,7 @@ config BOOTMETH_SANDBOX
 config BOOTMETH_SCRIPT
 	bool "Bootdev support for U-Boot scripts"
 	default y if BOOTSTD_FULL
+	select HUSH_PARSER
 	help
 	  Enables support for booting a distro via a U-Boot script. This makes
 	  the bootdevs look for a 'boot/boot.scr' file which can be used to
-- 
2.40.1.521.gf1e218fcd8-goog



More information about the U-Boot mailing list