ovl/orm,ors,oru

This commit is contained in:
Marc Beninca 2025-07-30 14:13:10 +02:00
parent c49040e20b
commit 9c5185a797
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

View file

@ -49,8 +49,8 @@ rwx_overlay_mirror_unmount() {
"overlay/mount/deb" "overlay/mount/deb"
} }
#= orm
#| mount #| mount
#= orm
rwx_overlay_root_mount() { rwx_overlay_root_mount() {
local root="${1}" local root="${1}"
if [ -z "${root}" ]; then if [ -z "${root}" ]; then
@ -89,11 +89,11 @@ rwx_overlay_root_mount() {
) )
} }
#= ors
#| mkdir #| mkdir
#| cp #| cp
#| mksquashfs #| mksquashfs
#| chown #| chown
#= ors
rwx_overlay_root_squash() { rwx_overlay_root_squash() {
local directory="${1}" local directory="${1}"
local file local file
@ -113,12 +113,12 @@ rwx_overlay_root_squash() {
fi fi
} }
#= oru
#| umount #| umount
#| rmdir #| rmdir
#| rm #| rm
#| umount #| umount
#| rmdir #| rmdir
#= oru
rwx_overlay_root_unmount() { rwx_overlay_root_unmount() {
( (
if ! cd "overlay"; then if ! cd "overlay"; then