mirror of
https://github.com/kernelkit/infix.git
synced 2026-07-27 19:23:02 +02:00
This change drops Qemu menuconfig from the regular 'make menuconfig' in favor of full release tarball support. Meaning "make update-defconfig" will not longer cause unwanted diffs for Qemu defaults checked in when the defconfigs are updated. Details: - For "make run, run-menuconfig" and bootstrapping qemu.cfg we want to use the Buildroot menuconfig system. However, we must set the proper environment variables for it to not overwrite our product's .config, so the calls to conf and mconf are not pretty. - The qemu.sh script can probably be cleaned up further, I've just set a CONFIG_ prefix to all variables and dropped any images/ prefix vs. the original. The CONFIG_ prefix is to make the qemu.cfg compatible with kconfig-mconf from the kconfig-frontends package. Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
36 lines
887 B
Plaintext
36 lines
887 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
|
|
|
|
source "$BR2_EXTERNAL_INFIX_PATH/board/common/Config.in"
|