pmbootstrap install: make --no-fde default (!1798)

Implement --fde, add deprecation warning to --no-fde, update related
help files and tests.
This commit is contained in:
Idan Horo 2019-07-01 19:42:58 +03:00 committed by Oliver Smith
parent f5db1b4306
commit fd79a60383
No known key found for this signature in database
GPG key ID: 5AE7F5513E0885CB
5 changed files with 16 additions and 7 deletions

View file

@ -184,6 +184,8 @@ def initfs(args):
def install(args):
if args.no_fde:
logging.warning("WARNING: --no-fde is deprecated, as it is now the default.")
if args.rsync and args.full_disk_encryption:
raise ValueError("Installation using rsync is not compatible with full"
" disk encryption.")