[initcpiocfg] fix imports
This commit is contained in:
parent
26f006bd32
commit
f7ed4f3220
@ -22,6 +22,7 @@
|
|||||||
# along with Calamares. If not, see <http://www.gnu.org/licenses/>.
|
# along with Calamares. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
import libcalamares
|
import libcalamares
|
||||||
|
from libcalamares.utils import debug, target_env_call
|
||||||
import os
|
import os
|
||||||
from collections import OrderedDict
|
from collections import OrderedDict
|
||||||
|
|
||||||
@ -148,7 +149,7 @@ def modify_mkinitcpio_conf(partitions, root_mount_point):
|
|||||||
and "luksMapperName" not in partition):
|
and "luksMapperName" not in partition):
|
||||||
unencrypted_separate_boot = True
|
unencrypted_separate_boot = True
|
||||||
|
|
||||||
if partition["mountPoint"] == "/usr"
|
if partition["mountPoint"] == "/usr":
|
||||||
hooks.append("usr")
|
hooks.append("usr")
|
||||||
|
|
||||||
if encrypt_hook:
|
if encrypt_hook:
|
||||||
|
Loading…
Reference in New Issue
Block a user