Skip to content

Commit

Permalink
blsforme: Expose more public APIs for moss
Browse files Browse the repository at this point in the history
Signed-off-by: Ikey Doherty <[email protected]>
  • Loading branch information
ikeycode committed Dec 27, 2024
1 parent d4936ee commit ca69d21
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion blsforme/src/bootenv.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ pub struct BootEnvironment {
pub esp: Option<PathBuf>,

/// Firmware in use
pub(crate) firmware: Firmware,
pub firmware: Firmware,

pub(crate) esp_mountpoint: Option<PathBuf>,
pub(crate) xboot_mountpoint: Option<PathBuf>,
Expand Down
5 changes: 5 additions & 0 deletions blsforme/src/manager.rs
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,11 @@ impl<'a> Manager<'a> {
})
}

/// Access the automatic cmdline
pub fn cmdline(&self) -> &[String] {
&self.cmdline
}

/// Set the system kernels to use for sync operations
pub fn with_entries(self, entries: impl Iterator<Item = Entry<'a>>) -> Self {
Self {
Expand Down

0 comments on commit ca69d21

Please sign in to comment.