mirror of
https://github.com/kernelkit/infix.git
synced 2026-07-22 01:13:00 +02:00
Infix defines its own Kconfig options with unprefixed names (IMAGE_*, QEMU_*, TRUSTED_KEYS*) and an INFIX_ prefix. Unprefixed names risk clashing with Buildroot and with other br2-externals/spins that source our tree. Rename all 86 options to a common IX_ prefix, collapsing the existing INFIX_ ones, e.g. INFIX_IMAGE_ID becomes IX_IMAGE_ID. The os-release INFIX_DESC field is a runtime interface, not a Kconfig option, and is kept; the qemu Config.in generator's @ARCH@ symbol is updated to match. Closes #1305 Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
132 lines
4.3 KiB
Plaintext
132 lines
4.3 KiB
Plaintext
source "$BR2_EXTERNAL_INFIX_PATH/board/Config.in"
|
||
|
||
menu "Branding"
|
||
|
||
config IX_VENDOR
|
||
string "Vendor name"
|
||
default "KernelKit"
|
||
help
|
||
The name of the operating system vendor. This is the name of the
|
||
organization or company which produces the OS.
|
||
|
||
This name is intended to be exposed in "About this system" UIs or
|
||
software update UIs when needed to distinguish the OS vendor from
|
||
the OS itself. It is intended to be human readable.
|
||
|
||
Used for VENDOR_NAME in /etc/os-release and GNS3 appliance files.
|
||
|
||
config IX_VENDOR_HOME
|
||
string "Vendor URL"
|
||
help
|
||
The homepage of the OS vendor. The value should be in RFC3986
|
||
format, and should be "http:" or "https:" URLs. Only one URL shall
|
||
be listed in the setting.
|
||
|
||
Optional, used for VENDOR_HOME in /etc/os-release
|
||
|
||
config IX_NAME
|
||
string "Operating system name"
|
||
default "Infix"
|
||
help
|
||
Mandatory. Used for identifying the OS as NAME in /etc/os-release
|
||
and product_name in GNS3 appliance files.
|
||
|
||
config IX_ID
|
||
string "Operating system identifier"
|
||
default "infix"
|
||
help
|
||
A lower-case string (no spaces or other characters outside of 0–9,
|
||
a–z, '.', '_' and '-') identifying the operating system, excluding
|
||
any version information and suitable for processing by scripts or
|
||
usage in generated filenames.
|
||
|
||
Mandatory. Used for identifying the OS as ID in /etc/os-release and
|
||
in the generated image name: ID-ARCH-VERSION.img
|
||
|
||
config IX_IMAGE_ID
|
||
string "Operating system image name"
|
||
default "${IX_ID}-${BR2_ARCH}"
|
||
help
|
||
A lower-case string (no spaces or other characters outside of 0–9,
|
||
a–z, ".", "_" and "-"), for naming critical image files, directories
|
||
and archives containting the operating system.
|
||
|
||
Mandatory. When INFIX_RELEASE is set, this string is appended to
|
||
the IMAGE_ID with a '-' separator.
|
||
|
||
config IX_COMPATIBLE
|
||
string "Operating system compatible string"
|
||
default "${IX_IMAGE_ID}"
|
||
help
|
||
A lower-case string (no spaces or other characters outside of 0–9,
|
||
a–z, ".", "_" and "-"), used for image identification at upgrade.
|
||
E.g., the RAUC [system] compatible string.
|
||
|
||
Mandatory. Defaults to $IX_IMAGE_ID, which in turn is composed
|
||
of $IX_ID-$BR2_ARCH.
|
||
|
||
config IX_TAGLINE
|
||
string "Operating system tagline"
|
||
default "Infix OS — Immutable.Friendly.Secure"
|
||
help
|
||
Mandatory. Used for identifying the OS, e.g. as PRETTY_NAME in
|
||
/etc/os-release and description in the GNS3 appliance.
|
||
|
||
This is also show at boot when the system init process starts.
|
||
|
||
config IX_DESC
|
||
string "Operating system description"
|
||
help
|
||
Optional. Used for long description texts about the OS. E.g.,
|
||
the GNS3 appliance file description field. Saved in the file
|
||
/etc/os-release as IX_DESC.
|
||
|
||
config IX_HOME
|
||
string "Operating system URL"
|
||
help
|
||
Used for identifying the OS, e.g. as HOME_URL in /etc/os-release
|
||
|
||
config IX_DOC
|
||
string "Operating system docs"
|
||
help
|
||
Optional. Main documentation URL, will be shown in /etc/os-release
|
||
as DOCUMENTATION_URL.
|
||
|
||
config IX_SUPPORT
|
||
string "Operating system support"
|
||
help
|
||
Main support page for the operating system, if there is any. This
|
||
is primarily intended for operating systems which vendors provide
|
||
support for. May be a http:, https:, or mailto: URI.
|
||
|
||
Optional. Shown, e.g., as SUPPORT_URL in /etc/os-release or
|
||
maintainer_email in .gns3a.
|
||
|
||
config IX_OEM_PATH
|
||
string "Path to OEM br2-external"
|
||
help
|
||
A br2-external using Infix will likely want to version the branded
|
||
OS using their own GIT tags. Set this variable to point to the base
|
||
directory (absolute path) and the Infix post-build.sh will call `git
|
||
describe -C $IX_OEM_PATH`.
|
||
|
||
Note: the OS version (VERSION, VERSION_ID, BUILD_ID in
|
||
/etc/os-release) is always derived from `git describe`. The global
|
||
variable INFIX_RELEASE does not change it; it only labels the release
|
||
channel (IMAGE_VERSION) and names the published artifacts.
|
||
|
||
endmenu
|
||
|
||
# For /etc/os-release, uses CondtionArchitechture= from systemd.unit(5)
|
||
config IX_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
|
||
|
||
source "$BR2_EXTERNAL_INFIX_PATH/package/Config.in"
|
||
source "$BR2_EXTERNAL_INFIX_PATH/package/Config.in.host"
|
||
source "$BR2_EXTERNAL_INFIX_PATH/board/common/Config.in"
|