Do not mount /run when updating Conty

To prevent systemd from asking for the user password.
This commit is contained in:
Kron4ek 2024-08-24 12:56:33 +03:00 committed by GitHub
parent 00e4a161e9
commit 5664d53d87
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1043,6 +1043,7 @@ if [ "$(ls "${mount_point}" 2>/dev/null)" ] || launch_wrapper "${mount_command[@
--bind "${overlayfs_dir}"/gnupg /etc/pacman.d/gnupg \ --bind "${overlayfs_dir}"/gnupg /etc/pacman.d/gnupg \
--bind "${overlayfs_dir}"/merged/var /var \ --bind "${overlayfs_dir}"/merged/var /var \
--bind-try /var/cache/pacman/pkg /var/cache/pacman/pkg_host \ --bind-try /var/cache/pacman/pkg /var/cache/pacman/pkg_host \
--tmpfs /run \
bash -c update_conty bash -c update_conty
if [ "${dwarfs_image}" = 1 ]; then if [ "${dwarfs_image}" = 1 ]; then