Skip to content

Commit c2de54e

Browse files
committed
build-sys: Handle aarch64 for systemd-boot
Signed-off-by: Colin Walters <walters@verbum.org>
1 parent 3e012d4 commit c2de54e

1 file changed

Lines changed: 12 additions & 1 deletion

File tree

contrib/packaging/configure-systemdboot

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,18 @@ set -euo pipefail
44
op=$1
55
shift
66

7-
sdboot="usr/lib/systemd/boot/efi/systemd-bootx64.efi"
7+
arch=$(arch)
8+
case $arch in
9+
x86_64)
10+
suffix="x64"
11+
;;
12+
aarch64)
13+
suffix="aa64"
14+
;;
15+
*) echo "Unknown architecture $arch" 1>&2; exit 1
16+
;;
17+
esac
18+
sdboot="usr/lib/systemd/boot/efi/systemd-boot${suffix}.efi"
819
sdboot_bn=$(basename ${sdboot})
920

1021
case $op in

0 commit comments

Comments
 (0)