also provide the info() function to debootstrap

This commit is contained in:
Johannes Schauer Marin Rodrigues 2022-09-12 11:56:26 +02:00
parent 2f27eccad4
commit 6c68ab2e5e
Signed by untrusted user: josch
GPG key ID: F2CBA5C78FBD83E1

View file

@ -4001,6 +4001,7 @@ sub get_sourceslist_by_suite {
variants() { :; };
keyring() { :; };
doing_variant() { false; };
info() { fmt="$2"; shift; shift; printf "I: $fmt\n" "$@" >&2; };
. /usr/share/debootstrap/scripts/gutsy;';
open my $fh, '-|', 'env', "ARCH=$arch", "SUITE=$suite",
'sh', '-c', $script // last;