From 7c2247f615ecdff8d236ac90c4bec1c3d255a497 Mon Sep 17 00:00:00 2001 From: nl6720 Date: Wed, 12 Aug 2020 19:42:02 +0300 Subject: archiso/mkarchiso: allow choosing boot modes from profiledef.sh Boot mode names are: - bios_syslinux.mbr: SYSLINUX in MBR - bios.syslinux.eltorito: SYSLINUX (ISOLINUX) via El Torito - uefi-x64.systemd-boot.esp: systemd-boot on ESP in MBR - uefi-x64.systemd-boot.eltorito: systemd-boot on ESP via El Torito It is not yet possible to create an ISO with only El Torito or only MBR boot modes! --- configs/baseline/profiledef.sh | 12 ++++++++++++ configs/releng/profiledef.sh | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 configs/baseline/profiledef.sh (limited to 'configs') diff --git a/configs/baseline/profiledef.sh b/configs/baseline/profiledef.sh new file mode 100644 index 0000000..9ced69e --- /dev/null +++ b/configs/baseline/profiledef.sh @@ -0,0 +1,12 @@ +#!/usr/bin/env bash +# shellcheck disable=SC2034 + +iso_name="archlinux-baseline" +iso_label="ARCH_$(date +%Y%m)" +iso_publisher="Arch Linux " +iso_application="Arch Linux baseline" +iso_version="$(date +%Y.%m.%d)" +install_dir="arch" +bootmodes=('bios.syslinux.mbr' 'bios.syslinux.eltorito') +arch="x86_64" +pacman_conf="pacman.conf" diff --git a/configs/releng/profiledef.sh b/configs/releng/profiledef.sh index 5eb5c5a..1aa93b6 100644 --- a/configs/releng/profiledef.sh +++ b/configs/releng/profiledef.sh @@ -7,6 +7,6 @@ iso_publisher="Arch Linux " iso_application="Arch Linux Live/Rescue CD" iso_version="$(date +%Y.%m.%d)" install_dir="arch" -bootmodes=() +bootmodes=('bios.syslinux.mbr' 'bios.syslinux.eltorito' 'uefi-x64.systemd-boot.esp' 'uefi-x64.systemd-boot.eltorito') arch="x86_64" pacman_conf="pacman.conf" -- cgit v1.2.3-70-g09d2