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>
69 lines
2.0 KiB
Plaintext
69 lines
2.0 KiB
Plaintext
menuconfig IX_IMAGE_ITB_QCOW
|
|
bool "QEMU disk image (ITB)"
|
|
depends on (IX_IMAGE_ITB_ROOTFS && IX_IMAGE_ITB_AUX) || IX_IMAGE_ITB_DL_RELEASE
|
|
select BR2_PACKAGE_HOST_GENIMAGE
|
|
help
|
|
Compose a full disk image with redundant Linux OS partitions,
|
|
configuration partition, etc., for systems using ITB images.
|
|
|
|
This is useful when:
|
|
- Bringing up a blank system during manufacturing
|
|
- Creating a GNS3 appliance
|
|
- Developing/debugging issues in the boot process in QEMU
|
|
|
|
menuconfig IX_IMAGE_ITB_QCOW_SIZE
|
|
string "Image size"
|
|
depends on IX_IMAGE_ITB_QCOW
|
|
default "512M"
|
|
help
|
|
Create a disk image of this size. A K/M/G suffix may be used
|
|
to multiply by powers of 1024. Suffixes like KB/MB/GB may be
|
|
used to multiply by powers of 1000. The image will be split
|
|
proportionally to fit the two rootfs, a kernel, a writable
|
|
/cfg and /var partiotions.
|
|
|
|
Minimum supported size is 512M.
|
|
|
|
choice
|
|
prompt "Bootloader"
|
|
depends on IX_IMAGE_ITB_QCOW
|
|
default IX_IMAGE_ITB_QCOW_BOOT_EFI if BR2_x86_64
|
|
default IX_IMAGE_ITB_QCOW_BOOT_NONE
|
|
|
|
config IX_IMAGE_ITB_QCOW_BOOT_NONE
|
|
bool "None"
|
|
help
|
|
Do not create any bootloader partition in the disk image.
|
|
|
|
config IX_IMAGE_ITB_QCOW_BOOT_EFI
|
|
bool "EFI"
|
|
help
|
|
Create a boot partition from a directory containing an EFI
|
|
boot application, e.g. GRUB.
|
|
|
|
config IX_IMAGE_ITB_QCOW_BOOT_BIN
|
|
bool "Binary"
|
|
help
|
|
Create a boot partition from a raw image containing the boot
|
|
application, e.g. U-Boot.
|
|
|
|
endchoice
|
|
|
|
config IX_IMAGE_ITB_QCOW_BOOT_DATA
|
|
string "Bootloader data"
|
|
depends on IX_IMAGE_ITB_QCOW
|
|
depends on IX_IMAGE_ITB_QCOW_BOOT_EFI || IX_IMAGE_ITB_QCOW_BOOT_BIN
|
|
default "${BINARIES_DIR}/efi-part/EFI" if BR2_x86_64
|
|
help
|
|
Path to the directory or file holding the bootloader data.
|
|
|
|
config IX_IMAGE_ITB_QCOW_BOOT_OFFSET
|
|
hex "Bootloader offset"
|
|
depends on IX_IMAGE_ITB_QCOW
|
|
depends on IX_IMAGE_ITB_QCOW_BOOT_EFI || IX_IMAGE_ITB_QCOW_BOOT_BIN
|
|
default 0x8000
|
|
help
|
|
Offset at which the bootloader partition is placed. Remember
|
|
to make sure that the GPT still fits at the start of the
|
|
image.
|