Skip to content

Commit 7d0c94a

Browse files
Fix ISO build failure by correcting bootmodes format
The ISO build was failing with the error `_make_bootmode_: command not found` because the `bootmodes` variable in `profiledef.sh` was defined as a bash array. The `mkarchiso` script expects a comma-separated string for the boot modes. This commit changes the `bootmodes` variable to a single comma-separated string, which resolves the build error.
1 parent 1ab2c76 commit 7d0c94a

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

profiledef.sh

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,7 @@ iso_application="Arch Linux No Beep Live/Rescue DVD"
88
iso_version="$(date --date="@${SOURCE_DATE_EPOCH:-$(date +%s)}" +%Y.%m.%d)"
99
install_dir="arch"
1010
buildmodes=('iso')
11-
bootmodes=('bios.syslinux.mbr' 'bios.syslinux.eltorito'
12-
'uefi-ia32.systemd-boot.esp' 'uefi-x64.systemd-boot.esp'
13-
'uefi-ia32.systemd-boot.eltorito' 'uefi-x64.systemd-boot.eltorito')
11+
bootmodes=('bios.syslinux.mbr,bios.syslinux.eltorito,uefi-ia32.systemd-boot.esp,uefi-x64.systemd-boot.esp,uefi-ia32.systemd-boot.eltorito,uefi-x64.systemd-boot.eltorito')
1412
arch="x86_64"
1513
pacman_conf="pacman.conf"
1614
airootfs_image_type="squashfs"

0 commit comments

Comments
 (0)