mrrl-containers

MRRL version of container scripts
git clone https://ccx.te2000.cz/git/mrrl-containers
Log | Files | Refs

commit 5c992c100fc9502968a9678570084dbe92f9a56d
parent 945d0a32639ee5d9a64a1ce2d4fed93f7773d6b2
Author: Jan Pobříslo <ccx@te2000.cz>
Date:   Fri, 24 Jun 2022 15:58:17 +0200

Move /home creation to container_generic_layout because we mount there
Diffstat:
Mzsh-functions/confz_containers_init | 8++++----
1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/zsh-functions/confz_containers_init b/zsh-functions/confz_containers_init @@ -490,6 +490,10 @@ confz_container_generic_layout_check() { require fs_m filename="$vars[root]/dev/shm" mode=0755 require fs_o filename="$vars[root]/dev/shm" owner=$vars[uid]:$vars[gid] + require fs_d filename="$vars[root]/home" + require fs_m filename="$vars[root]/home" mode=0755 + require fs_o filename="$vars[root]/home" owner=$vars[uid]:$vars[gid] + require fs_d filename="$vars[root]/mnt" require fs_m filename="$vars[root]/mnt" mode=0755 require fs_o filename="$vars[root]/mnt" owner=$vars[uid]:$vars[gid] @@ -533,10 +537,6 @@ confz_container_alpine_base_layout_check() { require fs_m filename="$vars[root]/etc/profile.d" mode=0755 require fs_o filename="$vars[root]/etc/profile.d" owner=$vars[uid]:$vars[gid] - require fs_d filename="$vars[root]/home" - require fs_m filename="$vars[root]/home" mode=0755 - require fs_o filename="$vars[root]/home" owner=$vars[uid]:$vars[gid] - require fs_d filename="$vars[root]/lib" require fs_m filename="$vars[root]/lib" mode=0755 require fs_o filename="$vars[root]/lib" owner=$vars[uid]:$vars[gid]