Age | Commit message (Collapse) | Author |
|
debusine describes a PackageBuildTask in docs/devel/ontology.rst.
Changes performed herein:
* dscpath -> source_package_path
* dscuri -> source_package_url
* buildarch -> build_architecture
* hostarch -> host_architecture
* options -> build_options
* profiles -> build_profiles
* buildpath -> build_path
|
|
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.
|
|
Bluntly copied from pbuilder as it does not seem to cause any problems
there.
|
|
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.
|
|
Instead of writing a complex shell script in a limited sub-language of
shell, call out to ourselves and implement the build functionality in
Python.
|
|
|
|
Fixes: a5d4cfd4b996 ("mmdebstrap: don't keep downloaded .deb files")
|
|
Since we delete the chroot anyway, there is no need to keep the .debs
for the build.
|
|
By doing the unpack before the satisfying build dependencies, we can
point apt at the extracted source package and stop talking about the
.dsc file. It also means that we can clean those artifacts earlier.
|
|
|
|
When the package does not say "Rules-Requires-Root: no", we need a root
command and dpkg-buildpackage defaults to fakeroot. Unfortunately, we
cannot tell whether the packages requires fakeroot, because the stanza
is not copied to the .dsc. Unconditionally install fakeroot then.
|
|
Using a pipe enables streaming of logs, which would not be possible with
a regular file output.
|
|
|
|
|
|
|
|
|
|
Proof-of-concept status. Some things work.
|