| # Copyright 2022 The ChromiumOS Authors | |
| # Use of this source code is governed by a BSD-style license that can be | |
| # found in the LICENSE file. | |
| set -e | |
| BINDMOUNTS="${HOME}" | |
| OS="debian" | |
| NAME="${OS}-${DIST}-${ARCH}" | |
| APTCACHE="/var/cache/pbuilder/aptcache/${NAME}" | |
| BASETGZ="/var/cache/pbuilder/base-${ARCH}.tgz" | |
| BUILDPLACE="/var/cache/pbuilder/build" | |
| BUILDRESULT="/var/cache/pbuilder/${NAME}/result/" | |
| DEBOOTSTRAPOPTS=("${DEBOOTSTRAPOPTS[@]}" "--arch=${ARCH}") | |
| PBUILDERSATISFYDEPENDSCMD="/usr/lib/pbuilder/pbuilder-satisfydepends-apt" |