Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/configs/baseline
diff options
context:
space:
mode:
authornl6720 <nl6720@gmail.com>2020-10-04 17:48:15 +0300
committernl6720 <nl6720@gmail.com>2020-10-24 19:57:30 +0300
commitae0e914114d2ff84e43b4da3b1b2bf855cff01d3 (patch)
treebaaf8545dc4bd4341c794753fafd1b6ec102a9c5 /configs/baseline
parentf3af5692059067cf8692b5cd1e0d7395c41fec06 (diff)
configs/baseline: support UEFI
Diffstat (limited to 'configs/baseline')
-rw-r--r--configs/baseline/efiboot/loader/entries/archiso-x86_64-linux.conf7
-rw-r--r--configs/baseline/efiboot/loader/loader.conf5
-rw-r--r--configs/baseline/profiledef.sh2
-rw-r--r--configs/baseline/syslinux/syslinux-linux.cfg2
4 files changed, 14 insertions, 2 deletions
diff --git a/configs/baseline/efiboot/loader/entries/archiso-x86_64-linux.conf b/configs/baseline/efiboot/loader/entries/archiso-x86_64-linux.conf
new file mode 100644
index 0000000..8dd7a16
--- /dev/null
+++ b/configs/baseline/efiboot/loader/entries/archiso-x86_64-linux.conf
@@ -0,0 +1,7 @@
+#
+# SPDX-License-Identifier: GPL-3.0-or-later
+
+title Arch Linux (x86_64, UEFI)
+linux /%INSTALL_DIR%/boot/x86_64/vmlinuz-linux
+initrd /%INSTALL_DIR%/boot/x86_64/initramfs-linux.img
+options archisobasedir=%INSTALL_DIR% archisolabel=%ARCHISO_LABEL%
diff --git a/configs/baseline/efiboot/loader/loader.conf b/configs/baseline/efiboot/loader/loader.conf
new file mode 100644
index 0000000..1ea5ce5
--- /dev/null
+++ b/configs/baseline/efiboot/loader/loader.conf
@@ -0,0 +1,5 @@
+#
+# SPDX-License-Identifier: GPL-3.0-or-later
+
+timeout 3
+default archiso-x86_64-linux.conf
diff --git a/configs/baseline/profiledef.sh b/configs/baseline/profiledef.sh
index 9ced69e..2efd38f 100644
--- a/configs/baseline/profiledef.sh
+++ b/configs/baseline/profiledef.sh
@@ -7,6 +7,6 @@ iso_publisher="Arch Linux <https://www.archlinux.org>"
iso_application="Arch Linux baseline"
iso_version="$(date +%Y.%m.%d)"
install_dir="arch"
-bootmodes=('bios.syslinux.mbr' 'bios.syslinux.eltorito')
+bootmodes=('bios.syslinux.mbr' 'bios.syslinux.eltorito' 'uefi-x64.systemd-boot.esp' 'uefi-x64.systemd-boot.eltorito')
arch="x86_64"
pacman_conf="pacman.conf"
diff --git a/configs/baseline/syslinux/syslinux-linux.cfg b/configs/baseline/syslinux/syslinux-linux.cfg
index c4b015b..21dfbd7 100644
--- a/configs/baseline/syslinux/syslinux-linux.cfg
+++ b/configs/baseline/syslinux/syslinux-linux.cfg
@@ -2,7 +2,7 @@
# SPDX-License-Identifier: GPL-3.0-or-later
LABEL arch
-MENU LABEL Arch Linux
+MENU LABEL Arch Linux (x86_64, BIOS)
LINUX boot/%ARCH%/vmlinuz-linux
INITRD boot/%ARCH%/initramfs-linux.img
APPEND archisobasedir=%INSTALL_DIR% archisolabel=%ARCHISO_LABEL%