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

Signed-off-by: Marc S. Weidner <msw@coresecret.dev>
This commit is contained in:
2025-07-26 18:40:34 +02:00
parent 6748f69e61
commit e64a0f5404
11 changed files with 111 additions and 86 deletions

View File

@@ -109,7 +109,7 @@ partitioning() {
### Assign the landing zone of each partition.
if [[ "${var_end}" == "-1" ]]; then
var_end_arg="100%"
var_end_arg="-16MiB"
else
var_end_arg="${var_end}"
fi
@@ -189,6 +189,9 @@ partitioning() {
done
lsblk -o NAME,START,SIZE,PHY-SEC,LOG-SEC,ALIGNMENT "/dev/${var_dev}" >| "${DIR_LOG}/${var_dev}_alignment.log"
sgdisk -p "/dev/${var_dev}" >| "${DIR_LOG}/${var_dev}_info.log"
done
return 0

View File

@@ -71,6 +71,8 @@ setup_filesystem() {
done
lsblk -o NAME,MAJ:MIN,FSTYPE,FSVER,SIZE,UUID,MOUNTPOINT,PATH "/dev/${var_dev}" >| "${DIR_LOG}/${var_dev}_overview.log"
done
return 0
}

View File

@@ -38,7 +38,7 @@ skip_path() {
# 3: MOUNT_OPTIONS
#######################################
mount_with_dir() {
declare var_mount_path="$1" var_mount_device="$2" var_mount_options="$3"
declare var_mount_path="$1" var_mount_device="$2" var_mount_options="$3:-"
[[ "${var_mount_path}" != "/" ]] && mkdir -p "${TARGET}${var_mount_path}"