From 35265c613e24c8a1cd50b94536d321e327161510 Mon Sep 17 00:00:00 2001 From: Helmut Grohne Date: Thu, 26 Jan 2023 06:52:08 +0100 Subject: debvm-run: be a bit more verbose about detected architecture --- bin/debvm-run | 3 +++ 1 file changed, 3 insertions(+) (limited to 'bin') diff --git a/bin/debvm-run b/bin/debvm-run index 1ac2360..9cfce7f 100755 --- a/bin/debvm-run +++ b/bin/debvm-run @@ -193,6 +193,9 @@ VMARCH=$ARCHITECTURE if command -v elf-arch >/dev/null 2>&1; then /sbin/debugfs "$IMAGE" -R "cat /bin/true" > "$KERNELTMP" VMARCH=$(elf-arch "$KERNELTMP") + echo "Detected VM architecture as $VMARCH" 1>&2 +else + echo "Assuming VM architecture as $VMARCH" 1>&2 fi for KERNELLINK in vmlinuz vmlinux boot/vmlinuz boot/vmlinux; do -- cgit v1.2.3