summaryrefslogtreecommitdiff
path: root/mdbp/sbuild.py
AgeCommit message (Collapse)Author
2021-05-27add new field .output.artifacts to schemaHelmut Grohne
Using the field you can specify an ORed set of positive glob-style patterns for artifacts to retain in the .output.directory. It defaults to including all artifacts.
2021-05-19sbuild: don't just apt upgrade, dist-upgrade insteadHelmut Grohne
2021-05-19sbuild: always update and upgrade the chrootHelmut Grohne
2021-05-18enable building a source package by name and versionHelmut Grohne
If a package is specified by name, it is downloaded inside the chroot using the embedded deb-src uris. sbuild implements this natively, pbuilder does not implement this yet, but there is #988419 and mmdebstrap can make it work.
2021-05-12sbuild: make environment passing workHelmut Grohne
sbuild filters the environment and removes all but a set of whitelisted variables. Unfortunately, the filter is quite restrictive and filters e.g. "TARGET", which can be used to configure a binutils build. There is no good way to get around this environment filter from the command line. The one way that does work, is passing a SBUILD_CONFIG that contains the desired variables. Once we do have such a file, we can encode a number of other command line switches as well.
2021-05-09the stdout fd contains the build logHelmut Grohne
Using a pipe enables streaming of logs, which would not be possible with a regular file output.
2021-04-23sbuild: pass --nologHelmut Grohne
Neither pbuilder nor mmdebstrap produce a separate log file (beyond the output on the standard streams). Disabling the extra file improves consistency.
2021-04-23remove redundant values from schemaHelmut Grohne
The bd-uninstallable-explainer value null is equivalent to skipping the option and thus dropped. The network value "undefined" is equivalent to skipping the option and thus dropped. Reported-by: David Kalnischkies <donkult@debian.org>
2021-04-22forward exit codeHelmut Grohne
2021-04-18sbuild: add support for lintian.optionsHelmut Grohne
2021-04-18initial checkin of mdbpHelmut Grohne
Proof-of-concept status. Some things work.