diff --git a/src/modules/bootloader/main.py b/src/modules/bootloader/main.py index 74ccff239..f29ff839e 100644 --- a/src/modules/bootloader/main.py +++ b/src/modules/bootloader/main.py @@ -137,7 +137,7 @@ def get_kernel_params(uuid): cryptdevice_params = [] have_dracut = libcalamares.utils.target_env_call(["sh", "-c", "which dracut"]) == 0 - uses_sd-encrypt = libcalamares.utils.target_env_call(["sh", "-c", "grep -q 'sd-encrypt' /etc/mkinitcpio.conf"]) + uses_sd-encrypt = libcalamares.utils.target_env_call(["sh", "-c", "grep -q sd-encrypt /etc/mkinitcpio.conf"]) # Take over swap settings: # - unencrypted swap partition sets swap_uuid diff --git a/src/modules/grubcfg/main.py b/src/modules/grubcfg/main.py index 2c4fd59a6..345c19663 100644 --- a/src/modules/grubcfg/main.py +++ b/src/modules/grubcfg/main.py @@ -136,7 +136,7 @@ def modify_grub_default(partitions, root_mount_point, distributor): ["sh", "-c", "which plymouth"] ) mkinitcpio_systemd = libcalamares.utils.target_env_call( - ["sh", "-c", "grep -q 'sd-encrypt' /etc/mkinitcpio.conf"] + ["sh", "-c", "grep -q sd-encrypt /etc/mkinitcpio.conf"] ) # Shell exit value 0 means success have_plymouth = plymouth_bin == 0