runtime_loader: Remove the user paths from the initial/"fallback" set.
This set is only used until the SetupEnvironment script has run, i.e. for launch_daemon and its initial tasks, which does not need the user paths. Solves a TODO.
This commit is contained in:
parent
938d81f658
commit
2e95cfdadd
@ -73,30 +73,20 @@ search_path_for_type(image_type type)
|
||||
// Since the kernel does not set any variables, this is also needed
|
||||
// to start the root shell.
|
||||
|
||||
// TODO: The user specific paths should not be used by default.
|
||||
switch (type) {
|
||||
case B_APP_IMAGE:
|
||||
return kUserNonpackagedBinDirectory
|
||||
":" kUserBinDirectory
|
||||
// TODO: Remove!
|
||||
":" kSystemNonpackagedBinDirectory
|
||||
return kSystemNonpackagedBinDirectory
|
||||
":" kGlobalBinDirectory
|
||||
":" kSystemAppsDirectory
|
||||
":" kSystemPreferencesDirectory;
|
||||
|
||||
case B_LIBRARY_IMAGE:
|
||||
return kAppLocalLibDirectory
|
||||
":" kUserNonpackagedLibDirectory
|
||||
":" kUserLibDirectory
|
||||
// TODO: Remove!
|
||||
":" kSystemNonpackagedLibDirectory
|
||||
":" kSystemLibDirectory;
|
||||
|
||||
case B_ADD_ON_IMAGE:
|
||||
return kAppLocalAddonsDirectory
|
||||
":" kUserNonpackagedAddonsDirectory
|
||||
":" kUserAddonsDirectory
|
||||
// TODO: Remove!
|
||||
":" kSystemNonpackagedAddonsDirectory
|
||||
":" kSystemAddonsDirectory;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user