f7c2b6fefd
Display the petitboot UI instead of a login prompt, allowing the configuration of custom tty(s) as we do for the login prompt. petitboot already depends on udev, so let's use it instead of rcS to launch pb-console. This has the advantage of easily wildcarding the list of ttys ("hvc*") and enables hotplug devices ("ttyUSB0"). Signed-off-by: Reza Arbab <arbab@linux.ibm.com> Signed-off-by: Arnout Vandecappelle <arnout@mind.be>
36 lines
1.4 KiB
Plaintext
36 lines
1.4 KiB
Plaintext
config BR2_PACKAGE_PETITBOOT
|
|
bool "petitboot"
|
|
depends on BR2_PACKAGE_KEXEC_ARCH_SUPPORTS || BR2_PACKAGE_KEXEC_LITE_ARCH_SUPPORTS
|
|
depends on BR2_USE_MMU # lvm2
|
|
depends on BR2_USE_WCHAR # elfutils
|
|
depends on !BR2_STATIC_LIBS # elfutils, lvm2
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS # elfutils, lvm2
|
|
depends on BR2_PACKAGE_HAS_UDEV
|
|
select BR2_PACKAGE_ELFUTILS
|
|
select BR2_PACKAGE_LVM2 # devmapper
|
|
select BR2_PACKAGE_NCURSES
|
|
# run-time dependencies
|
|
select BR2_PACKAGE_KEXEC if !BR2_PACKAGE_KEXEC_LITE_ARCH_SUPPORTS
|
|
select BR2_PACKAGE_KEXEC_LITE if BR2_PACKAGE_KEXEC_LITE_ARCH_SUPPORTS && !BR2_PACKAGE_KEXEC
|
|
select BR2_PACKAGE_NVME if ( BR2_powerpc || BR2_powerpc64 || BR2_powerpc64le )
|
|
select BR2_PACKAGE_POWERPC_UTILS if ( BR2_powerpc || BR2_powerpc64 || BR2_powerpc64le )
|
|
help
|
|
Petitboot is a small kexec-based bootloader
|
|
|
|
http://www.kernel.org/pub/linux/kernel/people/geoff/petitboot/petitboot.html
|
|
|
|
comment "petitboot needs a toolchain w/ wchar, dynamic library, threads, udev /dev management"
|
|
depends on BR2_PACKAGE_KEXEC_ARCH_SUPPORTS
|
|
depends on BR2_USE_MMU
|
|
depends on !BR2_USE_WCHAR || BR2_STATIC_LIBS || \
|
|
!BR2_TOOLCHAIN_HAS_THREADS || \
|
|
!BR2_PACKAGE_HAS_UDEV
|
|
|
|
config BR2_PACKAGE_PETITBOOT_GETTY_PORT
|
|
string "TTY port(s)"
|
|
default "console"
|
|
depends on BR2_PACKAGE_PETITBOOT
|
|
help
|
|
Specify a space-separated list of ports to run the petitboot
|
|
UI on. Wildcards are allowed. Example: "hvc* ttys0 ttyS*"
|