mirror of
https://github.com/kernelkit/infix.git
synced 2026-07-22 01:13:00 +02:00
- board/common: drop everything not needed by NETCONF mode - board/classic: most board/common helpers relocated here - Simplify Finit scripts for critical services - Source variant from /etc/os-release to select ramdisk /etc Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
42 lines
974 B
Plaintext
42 lines
974 B
Plaintext
# For /etc/os-release, uses CondtionArchitechture= from systemd.unit(5)
|
|
config INFIX_ARCH
|
|
string
|
|
default "arm" if BR2_arm
|
|
default "arm64" if BR2_aarch64
|
|
default "mips64" if BR2_mips64
|
|
default "riscv64" if BR2_riscv
|
|
default "x86_64" if BR2_x86_64
|
|
|
|
# For /etc/os-release, VARIANT & VARIANT_ID used, e.g., in mnt script
|
|
choice
|
|
prompt "Select variant/flavor"
|
|
default INFIX_VARIANT_NETCONF
|
|
|
|
config INFIX_VARIANT_NETCONF
|
|
bool "NETCONF"
|
|
help
|
|
Managed NETCONF mode, /etc is a ramdisk, all configuration is
|
|
generated by sysrepo plugins using NETCONF (xml) or RESTCONF.
|
|
|
|
config INFIX_VARIANT_CLASSIC
|
|
bool "Classic /etc mode"
|
|
help
|
|
User managed mode, read-write configuration files in /etc that
|
|
is saved across reboots.
|
|
|
|
endchoice
|
|
|
|
menu "Packages"
|
|
|
|
source "$BR2_EXTERNAL_INFIX_PATH/package/Config.in"
|
|
|
|
endmenu
|
|
|
|
menu "QEMU Virtualization"
|
|
|
|
source "$BR2_EXTERNAL_INFIX_PATH/qemu/Config.in"
|
|
|
|
endmenu
|
|
|
|
source "$BR2_EXTERNAL_INFIX_PATH/board/common/Config.in"
|