We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3e012d4 commit c2de54eCopy full SHA for c2de54e
1 file changed
contrib/packaging/configure-systemdboot
@@ -4,7 +4,18 @@ set -euo pipefail
4
op=$1
5
shift
6
7
-sdboot="usr/lib/systemd/boot/efi/systemd-bootx64.efi"
+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"
19
sdboot_bn=$(basename ${sdboot})
20
21
case $op in
0 commit comments