Instead of blindly trying to load BFS when booted from a boot image, the
loader will now respect the selection made by the boot image creator, and just load every file system there is on that image. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14381 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -197,9 +197,14 @@ load_modules(stage2_args *args, Directory *volume)
|
||||
}
|
||||
}
|
||||
} else {
|
||||
// just make sure BFS is loaded - the boot file system
|
||||
// does not help our decision of what's needed
|
||||
load_module(volume, "file_systems/bfs");
|
||||
// The boot image should only contain the file system
|
||||
// needed to boot the system, so we just load it.
|
||||
// ToDo: this is separate from the fall back from above
|
||||
// as this piece will survive a more intelligent module
|
||||
// loading approach...
|
||||
char path[B_FILE_NAME_LENGTH];
|
||||
sprintf(path, "%s/%s", sPaths[0], "file_systems");
|
||||
load_modules_from(volume, path);
|
||||
}
|
||||
|
||||
return B_OK;
|
||||
|
||||
Reference in New Issue
Block a user