forked from josch/mmdebstrap
make_mirror.sh: output contents of sources.list and preferences.d for debugging
This commit is contained in:
parent
c3bcc7b04a
commit
b214d74129
1 changed files with 7 additions and 0 deletions
|
@ -198,6 +198,13 @@ END
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
echo "creating mirror for $dist" >&2
|
||||||
|
for f in /etc/apt/sources.list /etc/apt/sources.list.d/* /etc/apt/preferences.d/*; do
|
||||||
|
[ -e "$rootdir/$f" ] || continue
|
||||||
|
echo "contents of $f:" >&2
|
||||||
|
cat "$rootdir/$f" >&2
|
||||||
|
done
|
||||||
|
|
||||||
APT_CONFIG="$rootdir/etc/apt/apt.conf" apt-get update
|
APT_CONFIG="$rootdir/etc/apt/apt.conf" apt-get update
|
||||||
|
|
||||||
pkgs=$(APT_CONFIG="$rootdir/etc/apt/apt.conf" apt-get indextargets \
|
pkgs=$(APT_CONFIG="$rootdir/etc/apt/apt.conf" apt-get indextargets \
|
||||||
|
|
Loading…
Reference in a new issue