Skip to content

Commit

Permalink
pv_lxc: move pv_lxc.so plugin to [/usr]/lib/pv/plugins/pv_lxc.so
Browse files Browse the repository at this point in the history
This is more in line with best practices of where to ship shared library plugins
on Linux distros
  • Loading branch information
asac committed Jun 13, 2024
1 parent 55280d1 commit d3d1fec
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion paths.c
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ void pv_paths_writable(char *buf, size_t size)
pv_config_get_str(PV_DISK_WRITABLEDIR));
}

#define PV_LIB_PLUGIN_PATHF "%s/pv_%s.so"
#define PV_LIB_PLUGIN_PATHF "%s/pv/plugins/pv_%s.so"
#define PV_LIB_MODULES_PATHF "%s/modules/%s"
#define PV_LIB_CRYPT_PATHF "%s/pv/volmount/crypt/%s"
#define PV_LIB_VOLMOUNT_PATHF "%s/pv/volmount/%s/%s"
Expand Down
2 changes: 1 addition & 1 deletion plugins/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@ SET_TARGET_PROPERTIES(pv_lxc PROPERTIES PREFIX "")
target_link_libraries(pv_lxc ${LXC_LIB})

install(TARGETS pv_lxc
DESTINATION ${BASELIBDIR}lib/
DESTINATION ${BASELIBDIR}lib/pv/plugins/
)

0 comments on commit d3d1fec

Please sign in to comment.