=== modified file 'zsh-functions/confz_containers_init' --- old/zsh-functions/confz_containers_init 2022-06-22 22:50:53 +0000 +++ new/zsh-functions/confz_containers_init 2022-06-22 22:40:55 +0000 @@ -934,24 +934,9 @@ } confz_container_nix_bootstrap_utils_check() { - checkvars user root arch uid gid + checkvars user root arch defvar keys_dir /etc/apk/keys defvar apk_executable apk - defvar mirror http://mirror.fit.cvut.cz/alpine - defvar release edge - defvar repositories main - - local -a repositories=( $vars[mirror]/$vars[release]/${^=vars[repositories]} ) - - require fs_d filename="$vars[root]/etc/apk" - require fs_m filename="$vars[root]/etc/apk" mode=0755 - require fs_o filename="$vars[root]/etc/apk" owner=$vars[uid]:$vars[gid] - - require fs_contentnl filename="$vars[root]/etc/apk/repositories" \ - content="${(F)repositories}" - require fs_m filename="$vars[root]/etc/apk/repositories" mode=0644 - require fs_o filename="$vars[root]/etc/apk/repositories" owner=$vars[uid]:$vars[gid] - do_command=( s6-setuidgid $vars[user] $vars[apk_executable] @@ -994,7 +979,7 @@ require container_sysroot_user %uid %gid :containers_dir :image_name require container_generic_layout :uid :gid :root - require container_nix_bootstrap_utils :user :root :uid :gid \ + require container_nix_bootstrap_utils :user :root \ arch=x86_64 # TODO: infer correct arch require container_nix_unpacked :containers_dir :filename :root :user