This repository has been archived by the owner on Mar 19, 2021. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
adding bareos-vmware-plugin-compat package
This is useful, when upgrading from Bareos <= 16.2.
- Loading branch information
1 parent
4b93b57
commit 691f58b
Showing
9 changed files
with
65 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
/usr/lib/bareos/plugins/vmware_plugin/bareos-fd-vmware.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
vmware_plugin/*.py /usr/lib/bareos/plugins/vmware_plugin | ||
vmware_cbt_tool/vmware_cbt_tool.py /usr/sbin | ||
/usr/lib/bareos/plugins/BareosFdPluginVMware.py | ||
/usr/lib/bareos/plugins/bareos-fd-vmware.py | ||
/usr/sbin/vmware_cbt_tool.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,31 @@ | ||
get_property(LIB64 GLOBAL PROPERTY FIND_LIBRARY_USE_LIB64_PATHS) | ||
if ("${LIB64}" STREQUAL "TRUE") | ||
set(LIBSUFFIX 64) | ||
else() | ||
set(LIBSUFFIX "") | ||
endif() | ||
set(INSTALL_LIB_DIR "lib${LIBSUFFIX}" CACHE PATH "Installation directory for libraries") | ||
mark_as_advanced(INSTALL_LIB_DIR) | ||
|
||
INSTALL(FILES | ||
BareosFdPluginVMware.py | ||
bareos-fd-vmware.py | ||
PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE | ||
GROUP_READ GROUP_EXECUTE | ||
WORLD_READ WORLD_EXECUTE | ||
DESTINATION "${CMAKE_INSTALL_LIBDIR}/bareos/plugins" | ||
DESTINATION "${INSTALL_LIB_DIR}/bareos/plugins" | ||
) | ||
INSTALL(DIRECTORY | ||
DESTINATION "${INSTALL_LIB_DIR}/bareos/plugins/vmware_plugin/" | ||
) | ||
INSTALL( | ||
# as this command is not handled by "INSTALL DESTINATION", | ||
# the target path must be evaluated manually. | ||
CODE " | ||
execute_process(COMMAND ln -sf \ | ||
../bareos-fd-vmware.py \ | ||
\$ENV{DESTDIR}/${CMAKE_INSTALL_PREFIX}/${INSTALL_LIB_DIR}/bareos/plugins/vmware_plugin/bareos-fd-vmware.py | ||
) | ||
" | ||
) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters