path: root/src/Build/Packaging/rpm-control/
diff options
authorEl Mostafa Idrassi <>2019-10-04 20:33:46 +0100
committerMounir IDRASSI <>2019-10-04 21:33:46 +0200
commitd2c53bc37317b0e9400f48b4b87a020773b05347 (patch)
treedb6c57a5ff9d01332f5c11c11b6353650841070c /src/Build/Packaging/rpm-control/
parent48ef6c3736db3dab13ea9befe2239bec65df939e (diff)
Linux: Added CMake script for creating .DEBs and .RPMs for VeraCrypt using CPack, and shell scripts which build then package VeraCrypt under CentOS and Debian/Ubuntu. (#511)
The DEB script builds VeraCrypt and links it against wxWidgets that comes with the distribution. The RPM script awaits for wxWidgets-3.0.4 source code which it builds then links VeraCrypt statically to it. Both scripts create the corresponding package after the build.
Diffstat (limited to 'src/Build/Packaging/rpm-control/')
1 files changed, 9 insertions, 0 deletions
diff --git a/src/Build/Packaging/rpm-control/ b/src/Build/Packaging/rpm-control/
new file mode 100644
index 00000000..e9deafc3
--- /dev/null
+++ b/src/Build/Packaging/rpm-control/
@@ -0,0 +1,9 @@
+V="$(mount | grep veracrypt_aux_mnt)"
+if [ ! -z "$V" ]
+ echo "Error: All VeraCrypt volumes must be dismounted first."
+ exit 1
+ exit 0
+fi \ No newline at end of file