Skip to content

Commit ca69d21

Browse files
committed
blsforme: Expose more public APIs for moss
Signed-off-by: Ikey Doherty <[email protected]>
1 parent d4936ee commit ca69d21

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

blsforme/src/bootenv.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ pub struct BootEnvironment {
4141
pub esp: Option<PathBuf>,
4242

4343
/// Firmware in use
44-
pub(crate) firmware: Firmware,
44+
pub firmware: Firmware,
4545

4646
pub(crate) esp_mountpoint: Option<PathBuf>,
4747
pub(crate) xboot_mountpoint: Option<PathBuf>,

blsforme/src/manager.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,11 @@ impl<'a> Manager<'a> {
131131
})
132132
}
133133

134+
/// Access the automatic cmdline
135+
pub fn cmdline(&self) -> &[String] {
136+
&self.cmdline
137+
}
138+
134139
/// Set the system kernels to use for sync operations
135140
pub fn with_entries(self, entries: impl Iterator<Item = Entry<'a>>) -> Self {
136141
Self {

0 commit comments

Comments
 (0)