This currently checks unstable's build deps regardless of the
$DISTRIBUTION value, which breaks badly in cases where unstable isn't
available.
Signed-off-by: Ryan Gonzalez <ryan.gonzalez@collabora.com>
Set EXTRA_DEBS earlier, to make it available for dependency
checking. Add a loop over EXTRA_DEBS, running `apt-cache show`
on each of them for the dpkg dummy directory. This was necessary
to get build.sh working with extra packages that have not yet
been uploaded into the debian archive. see mr #154 for more info.
sbuild arguments like --autopkgtest-opt (and -opts) append the specified
options to associated config file list (in this case autopkgtest_opts).
This can lead to a broken configuration. For example in ~/.sbuildrc I have:
$autopkgtest_opts = ['--', 'schroot', '%r-%a-sbuild'];
and I can't use build.sh as is as it passes (basically) the same
options to sbuild via --autopkgtest-opts, and the resulting option
list with duplicate entries doesn't work.
This change ensures that the append-only option lists build.sh
uses are reset to empty lists.
by creating and copying a temporary repository to the testbed schroot
session.
Co-developed-by: Wolfgang Silbermayr <wolfgang@silbermayr.at>
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
This patch changes build.sh to suppress the Lintian tag
bad-distribution-in-changes-file if the distribution is
UNRELEASED-FIXME-AUTOGENERATED-DEBCARGO. This error does not provide
any value as there is nothing the user can do to fix it.
This patch adds a new rule to the build.sh that instructs sbuild to also
execute autopkgtest if the environment variabe RUN_AUTOPKGTEST is set to
1. The autopkgtest configuration is based on these instructions:
https://wiki.debian.org/sbuild#Using_autopkgtest