From a79e563448c8e2f6bfeca7b5a9ad32898b2cdf75 Mon Sep 17 00:00:00 2001
From: Ruben Rodriguez <ruben@trisquel.info>
Date: Sun, 18 Jun 2017 20:16:29 -0400
Subject: [PATCH] ubiquity: disable ecryptfs in favor of full disk encryption

---
 helpers/make-ubiquity | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/helpers/make-ubiquity b/helpers/make-ubiquity
index 29a20a59..675bc8ac 100644
--- a/helpers/make-ubiquity
+++ b/helpers/make-ubiquity
@@ -17,11 +17,14 @@
 #    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
 #
 
-VERSION=4
+VERSION=5
 
 . ./config
 
+# Enable full disk encryption by default
 patch -p1 < $DATA/encrypt_by_default.patch
+# Disable ecryptfs, it is confusing to offer both and full disk encryption is safer
+sed '/login_encrypt/,/visible/s/True/False/' -i ./gui/gtk/stepUserInfo.ui
 
 cp $DATA/trisquel_installed.png pixmaps
 rm pixmaps/ubuntu_installed.png
-- 
GitLab