From 9195972bef6a30e1fa58b56848738894bbd2a1f9 Mon Sep 17 00:00:00 2001 From: Johannes 'josch' Schauer Date: Fri, 10 Apr 2020 12:55:31 +0200 Subject: [PATCH] dump contents of /etc/apt/apt.conf.d/99mmdebstrap and /etc/dpkg/dpkg.cfg.d/99mmdebstrap in debug mode --- mmdebstrap | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/mmdebstrap b/mmdebstrap index 6c6d413..a90e2de 100755 --- a/mmdebstrap +++ b/mmdebstrap @@ -1405,6 +1405,10 @@ sub run_setup() { } } close $fh; + if ($verbosity_level >= 3) { + debug "content of /etc/apt/apt.conf.d/99mmdebstrap:"; + copy("$options->{root}/etc/apt/apt.conf.d/99mmdebstrap", \*STDERR); + } } if (scalar @{ $options->{dpkgopts} } > 0) { @@ -1426,6 +1430,11 @@ sub run_setup() { } } close $fh; + if ($verbosity_level >= 3) { + debug "content of /etc/dpkg/dpkg.cfg.d/99mmdebstrap:"; + copy("$options->{root}/etc/dpkg/dpkg.cfg.d/99mmdebstrap", + \*STDERR); + } } ## setup merged usr