init: add debug eprintln at startup to locate panic site
This commit is contained in:
@@ -113,9 +113,11 @@ fn switch_root(unit_store: &mut UnitStore, config: &mut InitConfig, prefix: &Pat
|
||||
}
|
||||
|
||||
fn main() {
|
||||
eprintln!("INIT: main() entered");
|
||||
let mut init_config = InitConfig::new();
|
||||
let mut unit_store = UnitStore::new();
|
||||
let mut scheduler = Scheduler::new();
|
||||
eprintln!("INIT: about to switch_root (initfs)");
|
||||
|
||||
switch_root(
|
||||
&mut unit_store,
|
||||
|
||||
Reference in New Issue
Block a user