diff options
author | Helmut Grohne <helmut@subdivi.de> | 2023-01-26 06:52:08 +0100 |
---|---|---|
committer | Helmut Grohne <helmut@subdivi.de> | 2023-01-26 06:52:08 +0100 |
commit | 35265c613e24c8a1cd50b94536d321e327161510 (patch) | |
tree | ef2b2f79c8dca060169e782652c35ad49f06f7fd /bin/debvm-run | |
parent | b3e187dbff9c190af658e592e22fdbd96c908697 (diff) | |
download | debvm-35265c613e24c8a1cd50b94536d321e327161510.tar.gz |
debvm-run: be a bit more verbose about detected architecture
Diffstat (limited to 'bin/debvm-run')
-rwxr-xr-x | bin/debvm-run | 3 |
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 |