diff options
author | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2021-08-21 22:33:39 +0200 |
---|---|---|
committer | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2021-08-21 22:36:48 +0200 |
commit | 7df5a58adc83702b40ec58a435e9c5e1b6062e26 (patch) | |
tree | a9fecd3a53dcef60171839630dfc0e04072474a9 /src/Build | |
parent | 49a125230654d0a388718cfd43ded546a1d7e5f5 (diff) | |
download | VeraCrypt-7df5a58adc83702b40ec58a435e9c5e1b6062e26.tar.gz VeraCrypt-7df5a58adc83702b40ec58a435e9c5e1b6062e26.zip |
Linux: Better Linux desktop integration. Add mount.veracrypt script for fstab (proposed by unit193 at https://github.com/veracrypt/VeraCrypt/issues/814)
Diffstat (limited to 'src/Build')
-rw-r--r-- | src/Build/CMakeLists.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Build/CMakeLists.txt b/src/Build/CMakeLists.txt index a9b7967f..0c83638d 100644 --- a/src/Build/CMakeLists.txt +++ b/src/Build/CMakeLists.txt @@ -194,6 +194,9 @@ MESSAGE ( STATUS "Architecture = ${ARCHITECTURE}" ) install(DIRECTORY ${VERACRYPT_BUILD_DIR}/usr/bin DESTINATION . USE_SOURCE_PERMISSIONS) +install(DIRECTORY ${VERACRYPT_BUILD_DIR}/usr/sbin + DESTINATION . + USE_SOURCE_PERMISSIONS) install(DIRECTORY ${VERACRYPT_BUILD_DIR}/usr/share DESTINATION . USE_SOURCE_PERMISSIONS) @@ -317,6 +320,7 @@ elseif ( ( PLATFORM STREQUAL "CentOS" ) OR ( PLATFORM STREQUAL "openSUSE" ) ) # This is to avoid having %dir of these directories in the .spec file set( CPACK_RPM_EXCLUDE_FROM_AUTO_FILELIST_ADDITION "/usr" ) list(APPEND CPACK_RPM_EXCLUDE_FROM_AUTO_FILELIST_ADDITION "/usr/bin" ) + list(APPEND CPACK_RPM_EXCLUDE_FROM_AUTO_FILELIST_ADDITION "/usr/sbin" ) list(APPEND CPACK_RPM_EXCLUDE_FROM_AUTO_FILELIST_ADDITION "/usr/share" ) list(APPEND CPACK_RPM_EXCLUDE_FROM_AUTO_FILELIST_ADDITION "/usr/share/applications" ) list(APPEND CPACK_RPM_EXCLUDE_FROM_AUTO_FILELIST_ADDITION "/usr/share/doc" ) |