This updates the cargo bootimage command to build the kernel using a normal cargo build instead of cargo xbuild by default. This makes it possible to create kernels that don't depend on the cargo-xbuild crate anymore.
The cargo subcommand that is used for the kernel build can be adjusted by a new package.metadata.bootimage.build-command configuration key, which is set to ["build"]. By setting it to ["xbuild"], it is possible to make the kernel build use the cargo-xbuild crate again. It is also possible to pass additional build arguments.
This updates the
cargo bootimage
command to build the kernel using a normalcargo build
instead ofcargo xbuild
by default. This makes it possible to create kernels that don't depend on thecargo-xbuild
crate anymore.The cargo subcommand that is used for the kernel build can be adjusted by a new
package.metadata.bootimage.build-command
configuration key, which is set to["build"]
. By setting it to["xbuild"]
, it is possible to make the kernel build use thecargo-xbuild
crate again. It is also possible to pass additional build arguments.This is a breaking change.