Log systemd-nspawn invocation parameters

When debugging it is useful to know what parameters where
used.
This commit is contained in:
Martchus 2021-07-20 18:26:04 +02:00
parent 41a1da26ef
commit e81f5e016b
1 changed files with 4 additions and 1 deletions

View File

@ -140,4 +140,7 @@ else
set_arch="${CARCH}"
fi
exec systemd-nspawn "${nspawn_args[@]}" "$@"
msg "Entering chroot \"$working_dir\" via:"
for p in echo exec; do
"$p" systemd-nspawn "${nspawn_args[@]}" "$@"
done