V8.00.000.2025.06.17
All checks were successful
🛡️ Shell Script Linting / 🛡️ Shell Script Linting (push) Successful in 1m48s
All checks were successful
🛡️ Shell Script Linting / 🛡️ Shell Script Linting (push) Successful in 1m48s
Signed-off-by: Marc S. Weidner <msw@coresecret.dev>
This commit is contained in:
@@ -23,7 +23,6 @@ guard_sourcing
|
||||
# HMP_EPHEMERAL_FS_LABEL
|
||||
# HMP_PATH_DEV_PART
|
||||
# HMP_PATH_ENCLABEL
|
||||
# HMP_PATH_FSUUID
|
||||
# HMP_PATH_LUKSUUID
|
||||
# VAR_CRYPT_BOOT
|
||||
# VAR_CRYPT_RECOVERY
|
||||
@@ -45,12 +44,8 @@ guard_sourcing
|
||||
#######################################
|
||||
partition_encryption() {
|
||||
### Declare Arrays, HashMaps, and Variables.
|
||||
declare -Ag HMP_PATH_LUKSUUID # Used in: 3290() - [Mount Path:LUKS UUID].
|
||||
# Used in: 4210() - [Mount Path:LUKS UUID].
|
||||
declare -Ag HMP_PATH_FSUUID # Used in: 3240() - [Mount Path:Filesystem UUID].
|
||||
# Used in: 3290() - [Mount Path:Filesystem UUID].
|
||||
# Used in: 4200() - [Mount Path:Filesystem UUID].
|
||||
# Used in: 4210() - [Mount Path:Filesystem UUID].
|
||||
declare -Ag HMP_PATH_LUKSUUID # Used in: 3290() - [Mount Path:LUKS UUID].
|
||||
# Used in: 4210() - [Mount Path:LUKS UUID].
|
||||
declare -Ag HMP_EPHEMERAL_ENCLABEL # Used in: 4200() - [Mount Path:LUKS Encryption Label].
|
||||
declare -Ag HMP_EPHEMERAL_FS_LABEL # Used in: 4210() - [Mount Path:Ephemeral Host FS Label]. Substituted by FS-UUID
|
||||
|
||||
@@ -63,7 +58,7 @@ partition_encryption() {
|
||||
var_encryption_ephemeral="" var_encryption_integrity="" var_encryption_cipher="" var_encryption_hash="" \
|
||||
var_encryption_key="" var_encryption_label="" var_encryption_meta="" var_encryption_slot="" \
|
||||
var_encryption_pbkdf="" var_encryption_rng="" var_filesystem_label="" var_mount_path="" var_uuid="" var_fs="" \
|
||||
var_fs_uuid="" var_luks_backup_file="" var_luks_backup_name=""
|
||||
var_luks_backup_file="" var_luks_backup_name=""
|
||||
|
||||
declare -a ary_luks_opts=()
|
||||
|
||||
|
||||
@@ -63,6 +63,7 @@ partition_formatting() {
|
||||
### Nothing more to do here.
|
||||
continue
|
||||
;;
|
||||
*) : ;;
|
||||
esac
|
||||
|
||||
if [[ "${var_encryption_enable,,}" == "true" ]]; then
|
||||
|
||||
@@ -366,6 +366,10 @@ mount_partition() {
|
||||
do_log "info" "file_only" "3280() Mounted: '${var_fs_uuid}' on: '${TARGET}${var_mount_path}' Options='${var_mount_options}'."
|
||||
;;
|
||||
|
||||
*)
|
||||
do_log "info" "file_only" "3280() No valid FS found for: '${var_mount_path}'."
|
||||
;;
|
||||
|
||||
esac
|
||||
|
||||
var_dev="${var_dev_part%.*}"
|
||||
|
||||
Reference in New Issue
Block a user