2
0
Fork 0
Browse Source

Patch the VFS to load libvfs_%s.so plugins

vbox-host
Emery Hemingway 2 years ago
parent
commit
c0cfa5f549
  1. 15
      packages/genodelabs/LIB.patch

15
packages/genodelabs/LIB.patch

@ -1,4 +1,4 @@
commit 91ad094b581afde72199de1029fdd0ff3103d731
commit f7b706b179c6faff24b94b1f89153568146d398f
Author: Emery Hemingway <ehmry@posteo.net>
Date: Tue May 5 21:39:21 2020 +0530
@ -123,3 +123,16 @@ index 04caae01b2..8d64b0d34e 100644
+ $(VERBOSE)$(RM) -f *.d *.i *.ii *.s *.ali *.lib.so lib*.so
clean: clean_prg_objects
diff --git a/repos/os/src/lib/vfs/file_system_factory.cc b/repos/os/src/lib/vfs/file_system_factory.cc
index 48069d3fb8..53e8678757 100644
--- a/repos/os/src/lib/vfs/file_system_factory.cc
+++ b/repos/os/src/lib/vfs/file_system_factory.cc
@@ -117,7 +117,7 @@ Vfs::Global_file_system_factory::_try_create(Vfs::Env &env,
Library_name Vfs::Global_file_system_factory::_library_name(Node_name const &node_name)
{
char lib_name [Library_name::capacity()];
- Genode::snprintf(lib_name, sizeof(lib_name), "vfs_%s.lib.so",
+ Genode::snprintf(lib_name, sizeof(lib_name), "libvfs_%s.so",
node_name.string());
return Library_name(lib_name);

Loading…
Cancel
Save