chore(cpio): moved initramfs binary files to /bin/*
This commit is contained in:
@@ -58,9 +58,9 @@ i32 process_spawn(const char* path, const char* name) {
|
||||
}
|
||||
|
||||
void init_task_entry() {
|
||||
i32 pid = process_spawn("/init", "init");
|
||||
i32 pid = process_spawn("/bin/init", "init");
|
||||
if (pid < 0) {
|
||||
panic("FATAL: Failed to spawn /init");
|
||||
panic("FATAL: Failed to spawn /bin/init");
|
||||
}
|
||||
|
||||
while (1) { __asm__("sti; hlt"); }
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
|
||||
#include <syscalls/proc.h>
|
||||
#include <core/scheduler.h>
|
||||
#include <core/panic.h>
|
||||
#include <drivers/console.h>
|
||||
#include <core/loader.h>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user