diff --git a/blsforme/src/bootloader/mod.rs b/blsforme/src/bootloader/mod.rs index 26e56c4..9c24a09 100644 --- a/blsforme/src/bootloader/mod.rs +++ b/blsforme/src/bootloader/mod.rs @@ -71,13 +71,6 @@ impl<'a, 'b> Bootloader<'a, 'b> { } } - /// Install a single kernel, create records for it. - pub fn install(&self, cmdline: &str, entry: &Entry) -> Result<(), Error> { - match &self { - Bootloader::Systemd(s) => s.install(cmdline, entry), - } - } - /// Grab the installed entries pub fn installed_kernels(&self) -> Result, Error> { match &self { diff --git a/blsforme/src/bootloader/systemd_boot/mod.rs b/blsforme/src/bootloader/systemd_boot/mod.rs index 3500170..afa3ae8 100644 --- a/blsforme/src/bootloader/systemd_boot/mod.rs +++ b/blsforme/src/bootloader/systemd_boot/mod.rs @@ -126,7 +126,7 @@ impl<'a, 'b> Loader<'a, 'b> { } /// Install a kernel to the ESP or XBOOTLDR, write a config for it - pub(super) fn install(&self, cmdline: &str, entry: &Entry) -> Result<(), super::Error> { + fn install(&self, cmdline: &str, entry: &Entry) -> Result<(), super::Error> { let loader_id = self .boot_root .join_insensitive("loader")