Skip to main content

bootupd_supports_filesystem

Function bootupd_supports_filesystem 

Source
fn bootupd_supports_filesystem(chroot_target: Option<&Utf8Path>) -> Result<bool>
Expand description

Check whether the target bootupd supports --filesystem.

Runs bootupctl backend install --help and looks for --filesystem in the output. When chroot_target is set the command runs inside a chroot (via ChrootCmd) so we probe the binary from the target image.