external/LinuxBoot: Kconfig defaults to systemboot

In addition to change CB:40316 this commit proposes a change of default
behavior inside of the LinuxBoot toolchain.

Currently the defaults build a LinuxBoot payload which boots into the
u-root shell and waits for input. In fact it does not deliver any
bootloader with it, but the build image is on the other hand rather
small.

This commit changes the defaults in a way that the LinuxBoot
bootloader will actually be able to boot a local or remote system image.
In consequence the build payload size is rather big, but accepted for a
working out-of-the-box startup behavior.

See discussion on that topic in the above mentioned change.

Signed-off-by: Patrik Tesarik <mail@patrik-tesarik.de>
Change-Id: Ieaba7e523aef10c467a8bea29ae323e22324b225
Reviewed-on: https://review.coreboot.org/c/coreboot/+/40527
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Patrik Tesarik 2020-04-20 14:37:22 +02:00 committed by Felix Held
parent 446bacd2f4
commit ed8aef9ccd
1 changed files with 2 additions and 2 deletions

View File

@ -262,10 +262,10 @@ if LINUXBOOT_UROOT_MAIN
choice choice
prompt "Choose a specific bootloader" prompt "Choose a specific bootloader"
default SPECIFIC_BOOTLOADER_NONE default SPECIFIC_BOOTLOADER_SYSTEMBOOT
help help
Specify a bootloader which starts after u-root init. It will be a symlink Specify a bootloader which starts after u-root init. It will be a symlink
to /bin/uinit. Default: None to /bin/uinit. Default: systemboot
config SPECIFIC_BOOTLOADER_NONE config SPECIFIC_BOOTLOADER_NONE
bool "none" bool "none"