On Wed, Aug 30, 2023 at 09:53:11PM -0600, Simon Glass wrote:
> Standard boot has been in place for a while now. Quite a few problems
> have been found and fixed. It seems like a good time to mark the
> script-based approach as deprecated and encourage people to use standard
> boot.
> 
> Update the DISTRO_DEFAULTS Kconfig to encourage people to move to
> standard boot, which is able to boot Linux distributions automatically.
> 
> Add a short migration guide to make this easier.
> 
> Signed-off-by: Simon Glass <[email protected]>
> ---
> 
> Changes in v2:
> - Mention in the DISTRO_DEFAULTS option that it is script-based
> - Expand and rewrite the commit message
> - Use the word 'Mark' instead of 'Make' to improve the English
> 
>  boot/Kconfig            |  7 ++++++-
>  doc/develop/bootstd.rst | 23 +++++++++++++++++++++++
>  2 files changed, 29 insertions(+), 1 deletion(-)
> 
> diff --git a/boot/Kconfig b/boot/Kconfig
> index 458512a4ade2..a7dea0a0623b 100644
> --- a/boot/Kconfig
> +++ b/boot/Kconfig
> @@ -784,7 +784,7 @@ config SYS_BOOT_RAMDISK_HIGH
>  endmenu              # Boot images
>  
>  config DISTRO_DEFAULTS
> -     bool "Select defaults suitable for booting general purpose Linux 
> distributions"
> +     bool "(deprecated) 'Script-based booting of Linux distributions"

Extra ' ?

>       select BOOT_DEFAULTS
>       select AUTO_COMPLETE
>       select CMDLINE_EDITING
> @@ -792,6 +792,11 @@ config DISTRO_DEFAULTS
>       select HUSH_PARSER
>       select SYS_LONGHELP
>       help
> +       Note: These scripts have been replaced by Standard Boot. Do not use
> +       them on new boards. See 'Migrating from distro_boot' at
> +       doc/develop/bootstd.rst
> +
> +

Extra newline.

-- 
Tom

Attachment: signature.asc
Description: PGP signature

Reply via email to