forked from brl/citadel-tools
Added option to enable sealed realmfs images from kernel command line
This commit is contained in:
parent
3782668514
commit
41708c870e
@ -62,6 +62,9 @@ impl CommandLine {
|
|||||||
|
|
||||||
pub fn overlay() -> bool { CommandLine::var_exists("citadel.overlay") }
|
pub fn overlay() -> bool { CommandLine::var_exists("citadel.overlay") }
|
||||||
|
|
||||||
|
/// Return `true` if sealed realmfs images are enabled on kernel command line
|
||||||
|
pub fn sealed() -> bool { CommandLine::var_exists("citadel.sealed") }
|
||||||
|
|
||||||
pub fn channel() -> Option<&'static str> {
|
pub fn channel() -> Option<&'static str> {
|
||||||
CommandLine::get_value("citadel.channel")
|
CommandLine::get_value("citadel.channel")
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user