ubiquity: Disable confirmation popups
This commit is contained in:
parent
754ca3c16a
commit
07fccf9b74
2 changed files with 19 additions and 3 deletions
16
helpers/DATA/ubiquity/no_confrirmation_when_crypto.patch
Normal file
16
helpers/DATA/ubiquity/no_confrirmation_when_crypto.patch
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
diff --git a/ubiquity/plugins/ubi-partman.py b/ubiquity/plugins/ubi-partman.py
|
||||
index fc3f8c2a9e..c441f59cad 100644
|
||||
--- a/ubiquity/plugins/ubi-partman.py
|
||||
+++ b/ubiquity/plugins/ubi-partman.py
|
||||
@@ -3421,6 +3421,11 @@ class Page(plugin.Plugin):
|
||||
elif question.startswith('partman/confirm'):
|
||||
description = self.extended_description(question)
|
||||
|
||||
+ self.preseed(question, 'true', seen=False)
|
||||
+ self.succeeded = True
|
||||
+ self.done = True
|
||||
+ return True
|
||||
+
|
||||
if hasattr(self.ui, "use_zfs"):
|
||||
if (self.ui.use_zfs.get_active() and self.ui.use_device.get_active()):
|
||||
description = self.update_zfs_description(self.extended_description(question))
|
||||
|
|
@ -18,12 +18,12 @@
|
|||
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
#
|
||||
|
||||
VERSION=32
|
||||
VERSION=33
|
||||
|
||||
. ./config
|
||||
|
||||
# Enable full disk encryption by default. Disabled, as it hinders a11y and sighted people can choose to enable it.
|
||||
#patch -p0 < $DATA/nabia_encrypt_by_default.patch
|
||||
# Disable confirmation popups, as they are innacurate and buggy
|
||||
patch -p1 < $DATA/no_confrirmation_when_crypto.patch
|
||||
|
||||
# Fix some gtk labels for Orca
|
||||
patch -p1 < $DATA/a11y.patch
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue