Make it possible for preset options to be arrays
It would be nice if preset options could be arrays, so that they are easier to read and the prone-to-confusion word splitting is avoided.
Sample:
# mkinitcpio preset file for the 'linux' package
ALL_config="/etc/mkinitcpio.conf"
ALL_kver="/boot/vmlinuz-linux"
ALL_microcode=(/boot/*-ucode.img)
PRESETS=(default fallback rescue)
default_uki="/efi/EFI/arch/arch.efi"
default_options=(
--splash /usr/share/systemd/bootctl/splash-arch.bmp
)
fallback_uki="/efi/EFI/arch/arch-fallback.efi"
fallback_options=(
-S autodetect
--splash /usr/share/systemd/bootctl/splash-arch.bmp
)
rescue_config="/etc/mkinitcpio.conf.rescue"
rescue_uki="/efi/EFI/arch/arch-rescue.efi"
rescue_options=(
--cmdline /etc/kernel/cmdline-rescue
--splash /usr/share/systemd/bootctl/splash-arch.bmp
)