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

@@ -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").