Commit a66e78c5 authored by Samir Benmendil's avatar Samir Benmendil

Don't bind dirmngr

parent 898da89c
......@@ -81,7 +81,6 @@ actual_chroot() {
local socket="$(gpgconf --list-dirs agent-socket)"
local extra_socket="$(gpgconf --list-dirs agent-extra-socket)"
local dirmngr="$(gpgconf --list-dirs dirmngr-socket)"
if [[ -S $socket && -S $extra_socket ]]; then
msg "Found $extra_socket"
......@@ -93,13 +92,12 @@ actual_chroot() {
msg "Can't find any main socket"
if [[ -R socket_to_bind && -S $dirmngr ]]; then
msg "Bindind $socket_to_bind and $dirmngr to container"
if [[ -R socket_to_bind ]]; then
msg "Binding $socket_to_bind to container"
# Ideally we'd get that value from the chroots gpgconf but I don't
# want to actually run systemd-nspawn right here
msg "I can't find anything about $gnupg, exiting automatic bind process..."
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment