summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/debvm-run3
1 files changed, 3 insertions, 0 deletions
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