ClangBuiltLinux / boot-utils

Collection of files for booting Linux kernels
26 stars 7 forks source link

boot-qemu.py: Attempt to guess architecture from vmlinux without '-a' #97

Closed nathanchance closed 1 year ago

nathanchance commented 1 year ago

We can run file on vmlinux (if it is available) to try and guess what kernel we are booting. Certain architectures are ambiguous so we just require the user to provide -a for those.

Closes: https://github.com/ClangBuiltLinux/boot-utils/issues/48

nickdesaulniers commented 1 year ago

yes! thank you @nathanchance !