1
0
forked from brl/citadel-tools

Added option to enable sealed realmfs images from kernel command line

This commit is contained in:
Bruce Leidl 2019-01-29 11:51:24 -05:00
parent 3782668514
commit 41708c870e

View File

@ -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")
} }