V8.00.000.2025.06.17
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:
2025-10-07 17:27:17 +01:00
parent 914539f166
commit 72dcf355d9
17 changed files with 100 additions and 45 deletions

View File

@@ -25,7 +25,7 @@ guard_sourcing
# None
# Returns:
# 0: on success
# ERR_DEBOOTSTRAP
# ERR_DEBOOTSTRAP: on failure
#######################################
func_debootstrap() {
### Declare Arrays, HashMaps, and Variables.
@@ -70,4 +70,7 @@ func_debootstrap() {
fi
}
### Prevents accidental 'unset -f'.
# shellcheck disable=SC2034
readonly -f func_debootstrap
# vim: number et ts=2 sw=2 sts=2 ai tw=128 ft=sh

View File

@@ -80,4 +80,7 @@ check_debootstrap() {
guard_dir && return 0
}
### Prevents accidental 'unset -f'.
# shellcheck disable=SC2034
readonly -f check_debootstrap
# vim: number et ts=2 sw=2 sts=2 ai tw=128 ft=sh

View File

@@ -22,13 +22,13 @@ guard_sourcing
# Arguments:
# None
# Returns:
# ERR_CHRT_MOUNTS
# 0: on success
# ERR_CHRT_MOUNTS: on failure
#######################################
prepare_mounts() {
### Notes
# This file mounts all necessary pseudo filesystems into the target root environment to enable chroot operations.
# This function mounts all necessary pseudo filesystems into the target root environment to enable chroot operations.
# --rbind: recursive binding.
# --make-rslave: In this case, the mount point is marked as 'slave'.
# This means changes to the source mount (e.g., /proc) are propagated to the target mount (e.g., "${TARGET}/proc").

View File

@@ -46,4 +46,7 @@ check_usr_merge() {
guard_dir && return 0
}
### Prevents accidental 'unset -f'.
# shellcheck disable=SC2034
readonly -f check_usr_merge
# vim: number et ts=2 sw=2 sts=2 ai tw=128 ft=sh

View File

@@ -39,4 +39,7 @@ remove_x509() {
guard_dir && return 0
}
### Prevents accidental 'unset -f'.
# shellcheck disable=SC2034
readonly -f remove_x509
# vim: number et ts=2 sw=2 sts=2 ai tw=128 ft=sh