opengnsys_ipxe/src/config
Michael Brown d7bc9e9d67 [image] Support archive image formats independently of "imgextract" command
Support for the zlib and gzip archive image formats is currently
included only if the IMAGE_ARCHIVE_CMD is used to enable the
"imgextract" command.

The ability to transparently execute a single-member archive image
without using the "imgextract" command renders this unintuitive: a
user wanting to gain the ability to boot a gzip-compressed kernel
image would expect to have to enable IMAGE_GZIP rather than
IMAGE_ARCHIVE_CMD.

Reverse the inclusion logic, so that archive image formats must now be
enabled explicitly (via IMAGE_GZIP and/or IMAGE_ZLIB), with the
archive image management commands dragged in as needed if any archive
image formats are enabled.  The archive image management commands may
be explicitly disabled via IMAGE_ARCHIVE_CMD if necessary.

This matches the behaviour of IBMGMT_CMD and similar options, where
the relevant commands are included only when something else already
drags in the underlying feature.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
2021-05-12 14:50:34 +01:00
..
cloud [cloud] Attempt to include CPUID_SETTINGS only for x86 builds 2021-05-02 12:38:03 +01:00
defaults [linux] Provide ACPI settings via /sys/firmware/acpi/tables 2021-03-01 01:38:54 +00:00
local [build] Add support for local configuration files 2010-03-26 19:07:22 +00:00
qemu [cloud] Use PCIAPI_DIRECT for cloud images 2021-02-13 19:41:03 +00:00
rpi [cloud] Use PCIAPI_DIRECT for cloud images 2021-02-13 19:41:03 +00:00
vbox [cloud] Use PCIAPI_DIRECT for cloud images 2021-02-13 19:41:03 +00:00
branding.h [legal] Relicense files under GPL2_OR_LATER_OR_UBDL 2015-03-02 14:17:31 +00:00
colour.h [legal] Relicense files under GPL2_OR_LATER_OR_UBDL 2015-03-02 16:35:29 +00:00
config.c [image] Support archive image formats independently of "imgextract" command 2021-05-12 14:50:34 +01:00
config_archive.c [image] Support archive image formats independently of "imgextract" command 2021-05-12 14:50:34 +01:00
config_asn1.c [crypto] Enable both DER and PEM formats by default 2016-07-29 15:40:39 +01:00
config_crypto.c [crypto] Allow algorithms to be included without being OID-identifiable 2020-06-16 17:14:54 +01:00
config_efi.c [efi] Provide access to files stored on EFI filesystems 2016-03-14 21:11:01 +00:00
config_ethernet.c [eap] Treat an EAP Request-Identity as indicating a blocked link 2021-01-19 13:01:46 +00:00
config_fc.c [build] Fix the REQUIRE_SYMBOL mechanism 2015-03-05 00:59:38 +00:00
config_fdt.c [efi] Register a device tree if provided by the platform firmware 2019-07-19 17:43:02 +01:00
config_http.c [http] Add support for NTLM authentication 2017-11-12 18:52:04 +00:00
config_infiniband.c [xsigo] Add support for Xsigo virtual Ethernet (XVE) EoIB devices 2016-03-09 08:46:24 +00:00
config_linux.c [build] Generalise CONSOLE_VESAFB to CONSOLE_FRAMEBUFFER 2015-10-16 16:38:39 +01:00
config_net80211.c [build] Fix the REQUIRE_SYMBOL mechanism 2015-03-05 00:59:38 +00:00
config_pcbios.c [build] Generalise CONSOLE_VESAFB to CONSOLE_FRAMEBUFFER 2015-10-16 16:38:39 +01:00
config_pixbuf.c [pixbuf] Enable PNG format by default 2016-07-29 16:04:09 +01:00
config_romprefix.c [build] Fix the REQUIRE_SYMBOL mechanism 2015-03-05 00:59:38 +00:00
config_route.c [build] Fix the REQUIRE_SYMBOL mechanism 2015-03-05 00:59:38 +00:00
config_timer.c [time] Add support for the ACPI power management timer 2018-03-20 17:26:49 +02:00
config_usb.c [usbblk] Add support for USB mass storage devices 2020-10-13 15:56:38 +01:00
console.h [build] Generalise CONSOLE_VESAFB to CONSOLE_FRAMEBUFFER 2015-10-16 16:38:39 +01:00
crypto.h [crypto] Disable MD5 as an OID-identifiable algorithm by default 2020-06-16 23:41:43 +01:00
defaults.h [legal] Relicense files under GPL2_OR_LATER_OR_UBDL 2015-03-02 14:17:31 +00:00
dhcp.h [dhcp] Allow for links that remained blocked for up to three minutes 2021-01-19 13:01:46 +00:00
entropy.h [legal] Relicense files under GPL2_OR_LATER_OR_UBDL 2015-03-02 14:17:31 +00:00
fault.h [peerdist] Add individual block download mechanism 2015-08-17 13:24:39 +01:00
fdt.h [fdt] Add ability to parse a MAC address from a flattened device tree 2019-07-19 17:35:39 +01:00
general.h [image] Support archive image formats independently of "imgextract" command 2021-05-12 14:50:34 +01:00
ioapi.h [cloud] Use PCIAPI_DIRECT for cloud images 2021-02-13 19:41:03 +00:00
isa.h [build] Add support for local configuration files 2010-03-26 19:07:22 +00:00
named.h [legal] Relicense files under GPL2_OR_LATER_OR_UBDL 2015-03-02 14:17:31 +00:00
nap.h [legal] Relicense files under GPL2_OR_LATER_OR_UBDL 2015-03-02 14:17:31 +00:00
reboot.h [legal] Relicense files under GPL2_OR_LATER_OR_UBDL 2015-03-02 14:17:31 +00:00
sanboot.h [legal] Relicense files under GPL2_OR_LATER_OR_UBDL 2015-03-02 14:17:31 +00:00
serial.h [serial] Use new UART abstraction in serial console driver 2015-06-29 11:04:10 +01:00
settings.h [acpi] Expose ACPI tables via settings mechanism 2017-05-23 18:48:06 +01:00
sideband.h [legal] Relicense files under GPL2_OR_LATER_OR_UBDL 2015-03-02 14:17:31 +00:00
time.h [legal] Relicense files under GPL2_OR_LATER_OR_UBDL 2015-03-02 14:17:31 +00:00
timer.h [legal] Relicense files under GPL2_OR_LATER_OR_UBDL 2015-03-02 14:17:31 +00:00
umalloc.h [legal] Relicense files under GPL2_OR_LATER_OR_UBDL 2015-03-02 14:17:31 +00:00
usb.h [usbblk] Add support for USB mass storage devices 2020-10-13 15:56:38 +01:00