X-Git-Url: https://git.distorted.org.uk/~mdw/distorted-chroot/blobdiff_plain/67a8479ce5c6795fe8700915055a11bee9d1aa94..944cdc823adebb768f2569069120b59313bf8f87:/bin/mkbuildchroot diff --git a/bin/mkbuildchroot b/bin/mkbuildchroot index 58dc7c6..cb17ed2 100755 --- a/bin/mkbuildchroot +++ b/bin/mkbuildchroot @@ -152,7 +152,7 @@ case $qemup in ## 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= @@ -165,13 +165,13 @@ case $qemup in $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