## the `--no-rename' option was required in the same version in which is
## was introduced, so there's no single incantation that will work across
## the boundary.
- schroot -uroot -csource:$LVPREFIX$d-$a -- eatmydata sh -e -c "
+ schroot -uroot -csource:$lv -- eatmydata sh -e -c "
if dpkg-divert >/dev/null 2>&1 --no-rename --help
then no_rename=--no-rename
else no_rename=
$STATE/bin/install-cross-tools $d $a
## Install `build-essential', which had been delayed from earlier.
- schroot -uroot -csource:$LVPREFIX$d-$a -- \
+ schroot -uroot -csource:$lv -- \
eatmydata apt-get -y install build-essential
;;
esac
## Set the chroot's package state up properly.
-schroot -uroot -csource:$LVPREFIX$d-$a -- eatmydata sh -e -c '
+schroot -uroot -csource:$lv -- eatmydata sh -e -c '
apt-get update
apt-get -y upgrade
locale-gen