V8.00.000.2025.06.17
All checks were successful
🛡️ Shell Script Linting / 🛡️ Shell Script Linting (push) Successful in 43s

Signed-off-by: Marc S. Weidner <msw@coresecret.dev>
This commit is contained in:
2025-07-29 14:02:12 +02:00
parent 5e28506578
commit 855af7f0be
6 changed files with 77 additions and 136 deletions

View File

@@ -59,7 +59,7 @@ partition_encryption() {
for var_encryption_path in "${ARY_CRYPT_MOUNT_PATHS[@]}"; do
### Generates physical device location.
var_dev_part="${HMP_PATH_DEV_PART[${var_encryption_path}]}"
var_dev_part="${HMP_PATH_DEV_PART["${var_encryption_path}"]}"
### Extract parameters from YAML.
var_encryption_ephemeral=$(yq_val ".recipe.${VAR_RECIPE_STRING}.dev.${var_dev_part}.encryption.ephemeral" "${VAR_SETUP_PART}")
@@ -108,6 +108,7 @@ partition_encryption() {
if [[ "${var_encryption_ephemeral,,}" == "true" ]]; then
### Preparation of Ephemeral 'SWAP' and '/tmp' as per https://wiki.archlinux.org/title/Dm-crypt/Swap_encryption#UUID_and_LABEL
case "${var_encryption_path,,}" in
swap|/tmp)