From cef4e3e88098a220160c8d4f34ca706b2643d224 Mon Sep 17 00:00:00 2001 From: Daniel Bittman Date: Wed, 14 Aug 2024 17:29:30 -0700 Subject: [PATCH] Reset init to bootstrap. --- Cargo.toml | 4 ++-- src/kernel/src/initrd.rs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 4267109d7..765ed1f9b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -37,8 +37,8 @@ initrd = [ "crate:netmgr", "crate:nettest", "crate:pager", - "lib:twz-rt", - "lib:monitor", + #"lib:twz-rt", + #"lib:monitor", #"third-party:hello-world-rs" ] diff --git a/src/kernel/src/initrd.rs b/src/kernel/src/initrd.rs index 2f74299cb..e1543779a 100644 --- a/src/kernel/src/initrd.rs +++ b/src/kernel/src/initrd.rs @@ -59,7 +59,7 @@ pub fn init(modules: &[BootModule]) { } let obj = Arc::new(obj); obj::register_object(obj.clone()); - if e.filename().as_str() == "bootstrap" { + if e.filename().as_str() == "init" { boot_objects.init = Some(obj.clone()); } boot_objects