V8.00.000.2025.06.17
All checks were successful
🛡️ Shell Script Linting / 🛡️ Shell Script Linting (push) Successful in 2m28s
All checks were successful
🛡️ Shell Script Linting / 🛡️ Shell Script Linting (push) Successful in 2m28s
Signed-off-by: Marc S. Weidner <msw@coresecret.dev>
This commit is contained in:
@@ -306,16 +306,22 @@ partitioning() {
|
||||
udevadm settle
|
||||
|
||||
for i in {1..10}; do
|
||||
|
||||
var_uuid=$(blkid -s PARTUUID -o value "/dev/${var_dev}${var_part}") && [[ -n "${var_uuid}" ]] && break
|
||||
sleep 0.25
|
||||
|
||||
done
|
||||
|
||||
if [[ -z "${var_uuid}" ]]; then
|
||||
|
||||
do_log "fatal" "file_only" "3200() Partition: '/dev/${var_dev}${var_part}' could not read PARTUUID."
|
||||
return "${ERR_PART_READ}"
|
||||
|
||||
else
|
||||
|
||||
HMP_PATH_PARTUUID["${var_mount_path}"]="${var_uuid}"
|
||||
do_log "debug" "file_only" "3200() [HMP_PATH_PARTUUID]: '${var_mount_path}' -> '${HMP_PATH_PARTUUID["${var_mount_path}"]}'."
|
||||
|
||||
fi
|
||||
|
||||
### Gathering information for forthcoming modules 32n0().
|
||||
@@ -339,17 +345,21 @@ partitioning() {
|
||||
|
||||
### Gathering information for '/etc/fstab'-generation in 4200().
|
||||
if [[ "${var_mount_true}" == "true" ]]; then
|
||||
|
||||
# shellcheck disable=SC2034
|
||||
ARY_FSTAB_MOUNT_PATHS+=("${var_mount_path}")
|
||||
do_log "debug" "file_only" "3200() [ARY_FSTAB_MOUNT_PATHS]: '${var_mount_path}'."
|
||||
HMP_FSTAB_MOUNT_FTYPE["${var_mount_path}"]="${var_fs}"
|
||||
do_log "debug" "file_only" "3200() [HMP_FSTAB_MOUNT_FTYPE]: '${var_mount_path}' -> '${HMP_FSTAB_MOUNT_FTYPE["${var_mount_path}"]}'."
|
||||
|
||||
fi
|
||||
|
||||
### Gathering information for '/etc/initramfs-tools/conf.d/fsroot'-generation in 4121().
|
||||
if [[ "${var_mount_path}" == "/" ]]; then
|
||||
|
||||
# shellcheck disable=SC2034
|
||||
VAR_ROOT_FS="${var_fs}"
|
||||
|
||||
fi
|
||||
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user