ClangBuiltLinux / boot-utils

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

boot-qemu.sh: Allow the user to supply a kernel image directly #29

Closed nathanchance closed 3 years ago

nathanchance commented 3 years ago

There are times where supplying a kernel image directly makes more sense than providing the build output folder. For example, when using tuxmake, the build output folder is automatically cleaned up, leaving just the compiled artifacts. To boot kernels in this way, one would have to make a fake boot folder and copy the image to it.

Convert '-k' to either take a kernel image directly or the kernel build output folder.