|
|
|
@ -4,6 +4,7 @@
|
|
|
|
|
# === This file is part of Calamares - <https://github.com/calamares> ===
|
|
|
|
|
#
|
|
|
|
|
# Copyright 2017, Ghiunhan Mamut <venerix@redcorelinux.org>
|
|
|
|
|
# Copyright 2019, Adriaan de Groot <groot@kde.org>
|
|
|
|
|
#
|
|
|
|
|
# Calamares is free software: you can redistribute it and/or modify
|
|
|
|
|
# it under the terms of the GNU General Public License as published by
|
|
|
|
@ -18,9 +19,21 @@
|
|
|
|
|
# You should have received a copy of the GNU General Public License
|
|
|
|
|
# along with Calamares. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
|
|
|
|
|
|
import libcalamares
|
|
|
|
|
import os.path
|
|
|
|
|
|
|
|
|
|
import libcalamares
|
|
|
|
|
|
|
|
|
|
import gettext
|
|
|
|
|
_ = gettext.translation("calamares-python",
|
|
|
|
|
localedir=libcalamares.utils.gettext_path(),
|
|
|
|
|
languages=libcalamares.utils.gettext_languages(),
|
|
|
|
|
fallback=True).gettext
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
def pretty_name():
|
|
|
|
|
return _("Configuring OpenRC dmcrypt service.")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
def write_dmcrypt_conf(partitions, root_mount_point, dmcrypt_conf_path):
|
|
|
|
|
crypto_target = ""
|
|
|
|
|
crypto_source = ""
|
|
|
|
|