Skip to content

Commit

Permalink
Reset init to bootstrap.
Browse files Browse the repository at this point in the history
  • Loading branch information
dbittman committed Aug 15, 2024
1 parent c0d2b06 commit cef4e3e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
]

Expand Down
2 changes: 1 addition & 1 deletion src/kernel/src/initrd.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit cef4e3e

Please sign in to comment.