From 8c047047ab62597d6ced826136bd97df5bf1598c Mon Sep 17 00:00:00 2001 From: nl6720 Date: Mon, 14 Sep 2020 09:34:01 +0300 Subject: Split SYSLINUX configuration into per-kernel configuration files Slightly simplifies adding boot loader configuration for more kernels. Unfortunately the INCLUDE statement doesn't support wildcards, so each new file must be manually included in the main syslinux configuration file (syslinux.cfg for baseline and archiso_sys.cfg for releng). --- configs/baseline/syslinux/syslinux-linux.cfg | 8 ++++++++ configs/baseline/syslinux/syslinux.cfg | 6 +----- 2 files changed, 9 insertions(+), 5 deletions(-) create mode 100644 configs/baseline/syslinux/syslinux-linux.cfg (limited to 'configs/baseline/syslinux') diff --git a/configs/baseline/syslinux/syslinux-linux.cfg b/configs/baseline/syslinux/syslinux-linux.cfg new file mode 100644 index 0000000..c4b015b --- /dev/null +++ b/configs/baseline/syslinux/syslinux-linux.cfg @@ -0,0 +1,8 @@ +# +# SPDX-License-Identifier: GPL-3.0-or-later + +LABEL arch +MENU LABEL Arch Linux +LINUX boot/%ARCH%/vmlinuz-linux +INITRD boot/%ARCH%/initramfs-linux.img +APPEND archisobasedir=%INSTALL_DIR% archisolabel=%ARCHISO_LABEL% diff --git a/configs/baseline/syslinux/syslinux.cfg b/configs/baseline/syslinux/syslinux.cfg index d7396b8..c021a0e 100644 --- a/configs/baseline/syslinux/syslinux.cfg +++ b/configs/baseline/syslinux/syslinux.cfg @@ -8,8 +8,4 @@ MENU CLEAR DEFAULT arch TIMEOUT 30 -LABEL arch -MENU LABEL Arch Linux -LINUX boot/%ARCH%/vmlinuz-linux -INITRD boot/%ARCH%/initramfs-linux.img -APPEND archisobasedir=%INSTALL_DIR% archisolabel=%ARCHISO_LABEL% +INCLUDE boot/syslinux/syslinux-linux.cfg -- cgit v1.2.3-70-g09d2