From 8b7a39b3713b9223c3861b5153ffc019f312e88a Mon Sep 17 00:00:00 2001 From: Helmut Grohne Date: Wed, 25 Jan 2023 10:03:05 +0100 Subject: debvm-run: also handle upgrading arm elf-arch may report armel and armhf as arm. --- bin/debvm-run | 1 + 1 file changed, 1 insertion(+) (limited to 'bin') diff --git a/bin/debvm-run b/bin/debvm-run index 0c4ad2e..336a509 100755 --- a/bin/debvm-run +++ b/bin/debvm-run @@ -217,6 +217,7 @@ with_set_ex /sbin/debugfs "$IMAGE" -R "cat $INITRDNAME" > "$INITRDTMP" # experience for multiarch kernels. if command -v file >/dev/null 2>&1; then case "$VMARCH:$(file -b "$KERNELTMP")" in + "arm:Linux kernel ARM64 boot executable Image"*) VMARCH=arm64 ;; "armel:Linux kernel ARM64 boot executable Image"*) VMARCH=arm64 ;; "armhf:Linux kernel ARM64 boot executable Image"*) VMARCH=arm64 ;; # The boot stub looks the same on i386 and amd64, so we -- cgit v1.2.3