Log systemd-nspawn invocation parameters
When debugging it is useful to know what parameters where used.
This commit is contained in:
parent
8f5833a31b
commit
329cd98df6
|
@ -140,4 +140,7 @@ else
|
||||||
set_arch="${CARCH}"
|
set_arch="${CARCH}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
exec systemd-nspawn "${nspawn_args[@]}" "$@"
|
for p in echo exec; do
|
||||||
|
[[ $p == echo ]] && msg "Entering chroot \"$working_dir\" via:"
|
||||||
|
"$p" systemd-nspawn "${nspawn_args[@]}" "$@"
|
||||||
|
done
|
||||||
|
|
Loading…
Reference in New Issue