V8.00.000.2025.06.17
All checks were successful
🛡️ Shell Script Linting / 🛡️ Shell Script Linting (push) Successful in 41s
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:
@@ -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
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
@@ -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}"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user