V8.00.000.2025.06.17
All checks were successful
🛡️ Shell Script Linting / 🛡️ Shell Script Linting (push) Successful in 1m14s
All checks were successful
🛡️ Shell Script Linting / 🛡️ Shell Script Linting (push) Successful in 1m14s
Signed-off-by: Marc S. Weidner <msw@coresecret.dev>
This commit is contained in:
@@ -212,13 +212,12 @@ mount_partition() {
|
||||
var_encryption_label=$(get_label "${var_mount_path}" "${var_fs_version}" "luks")
|
||||
fi
|
||||
|
||||
var_fs_uuid="${HMP_PATH_FSUUID["${var_mount_path}"]}"
|
||||
var_partuuid="${HMP_PATH_PARTUUID["${var_mount_path}"]}"
|
||||
|
||||
if [[ -z "${var_fs_uuid}" ]]; then
|
||||
do_log "error" "file_only" "3280() FS-UUID for mount path: '${var_mount_path}' not found in: 'HMP_PATH_FSUUID'."
|
||||
return "${ERR_MOUNTING_DEV}"
|
||||
fi
|
||||
#if [[ -z "${var_fs_uuid}" ]]; then
|
||||
# do_log "error" "file_only" "3280() FS-UUID for mount path: '${var_mount_path}' not found in: 'HMP_PATH_FSUUID'."
|
||||
# return "${ERR_MOUNTING_DEV}"
|
||||
#fi
|
||||
|
||||
### Mounting of Ephemeral 'SWAP' and '/tmp' as per https://wiki.archlinux.org/title/Dm-crypt/Swap_encryption#UUID_and_LABEL
|
||||
if [[ "${var_mount_path,,}" == "swap" ]]; then
|
||||
@@ -273,6 +272,8 @@ mount_partition() {
|
||||
|
||||
fi
|
||||
|
||||
var_fs_uuid="${HMP_PATH_FSUUID["${var_mount_path}"]}"
|
||||
|
||||
if [[ "${var_fs_version,,}" == "btrfs" ]]; then
|
||||
|
||||
var_fs_btrfs_subvolume=$(get_label "${var_mount_path}" "${var_fs_version}" "sub")
|
||||
|
||||
Reference in New Issue
Block a user