V8.00.000.2025.06.17
All checks were successful
🛡️ Shell Script Linting / 🛡️ Shell Script Linting (push) Successful in 1m58s
All checks were successful
🛡️ Shell Script Linting / 🛡️ Shell Script Linting (push) Successful in 1m58s
Signed-off-by: Marc S. Weidner <msw@coresecret.dev>
This commit is contained in:
@@ -70,6 +70,8 @@ partitioning() {
|
||||
declare -a ary_devs=() ary_parts=() ary_paths_unsorted=()
|
||||
|
||||
declare -i i=0 var_dev_size=0 var_dev_end=0 var_sec_size=512
|
||||
# shellcheck disable=SC2034
|
||||
declare -g VAR_ROOT_FS=""
|
||||
|
||||
### Iterate over all devices in the recipe.
|
||||
# shellcheck disable=SC2312
|
||||
@@ -288,6 +290,12 @@ partitioning() {
|
||||
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
|
||||
|
||||
lsblk -o NAME,START,SIZE,PHY-SEC,LOG-SEC,ALIGNMENT "/dev/${var_dev}" >| "${DIR_LOG}/${var_dev}_alignment.log"
|
||||
|
||||
Reference in New Issue
Block a user