dump contents of /etc/apt/apt.conf.d/99mmdebstrap and /etc/dpkg/dpkg.cfg.d/99mmdebstrap in debug mode

This commit is contained in:
Johannes 'josch' Schauer 2020-04-10 12:55:31 +02:00
parent f6214e343f
commit 9195972bef
Signed by untrusted user: josch
GPG key ID: F2CBA5C78FBD83E1

View file

@ -1405,6 +1405,10 @@ sub run_setup() {
} }
} }
close $fh; 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) { if (scalar @{ $options->{dpkgopts} } > 0) {
@ -1426,6 +1430,11 @@ sub run_setup() {
} }
} }
close $fh; 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 ## setup merged usr