Skip to content

Use sbuild for building Ubuntu packages in isolation#5

Draft
dhilst wants to merge 43 commits intomasterfrom
fix/sbuild-build-packaging
Draft

Use sbuild for building Ubuntu packages in isolation#5
dhilst wants to merge 43 commits intomasterfrom
fix/sbuild-build-packaging

Conversation

@dhilst
Copy link
Collaborator

@dhilst dhilst commented Jan 8, 2026

Use sbuild for building Ubuntu packages in isolation

  • Add builddebs.pl to build Ubuntu packages
  • Update debian/ files to enable building with build

Signed-off-by: Daniel Hilst Selli <392820+dhilst@users.noreply.github.com>
Signed-off-by: Daniel Hilst Selli <392820+dhilst@users.noreply.github.com>
Signed-off-by: Daniel Hilst Selli <392820+dhilst@users.noreply.github.com>
Signed-off-by: Daniel Hilst Selli <392820+dhilst@users.noreply.github.com>
Signed-off-by: Daniel Hilst Selli <392820+dhilst@users.noreply.github.com>
Signed-off-by: Daniel Hilst Selli <392820+dhilst@users.noreply.github.com>
Signed-off-by: Daniel Hilst Selli <392820+dhilst@users.noreply.github.com>
Signed-off-by: Daniel Hilst Selli <392820+dhilst@users.noreply.github.com>
Signed-off-by: Daniel Hilst Selli <392820+dhilst@users.noreply.github.com>
Signed-off-by: Daniel Hilst Selli <392820+dhilst@users.noreply.github.com>
Signed-off-by: Daniel Hilst Selli <392820+dhilst@users.noreply.github.com>
Signed-off-by: Daniel Hilst Selli <392820+dhilst@users.noreply.github.com>
Signed-off-by: Daniel Hilst Selli <392820+dhilst@users.noreply.github.com>
Signed-off-by: Daniel Hilst Selli <392820+dhilst@users.noreply.github.com>
Signed-off-by: Daniel Hilst Selli <392820+dhilst@users.noreply.github.com>
Signed-off-by: Daniel Hilst Selli <392820+dhilst@users.noreply.github.com>
Signed-off-by: Daniel Hilst Selli <392820+dhilst@users.noreply.github.com>
Signed-off-by: Daniel Hilst Selli <392820+dhilst@users.noreply.github.com>
Signed-off-by: Daniel Hilst Selli <392820+dhilst@users.noreply.github.com>
Signed-off-by: Daniel Hilst Selli <392820+dhilst@users.noreply.github.com>
This module will be used during the building
of packages for Ubuntu and RHEL and for helping
with the CI.

It provide utilities functions to call shell comands
while respecting the exit status of child processs
and reading stdout and stderr in memory efficient
way (This is important because build processes can
generate a lot of output).

Signed-off-by: Daniel Hilst Selli <392820+dhilst@users.noreply.github.com>
It shoudl abort the build process as soon as some
package fails to build, and exit with error state

Signed-off-by: Daniel Hilst Selli <392820+dhilst@users.noreply.github.com>
- Add a summary to the end of the output
- Use pod for documentation
- Check exit status AND if files were generated in the disk
- Add --keep-going and fix target creation directory bug
- Add apt-cache-ng to save network bandwith during the builds

Signed-off-by: Daniel Hilst Selli <392820+dhilst@users.noreply.github.com>
Signed-off-by: Daniel Hilst Selli <392820+dhilst@users.noreply.github.com>
This fix the reprepro repository generation

Signed-off-by: Daniel Hilst Selli <392820+dhilst@users.noreply.github.com>
The repositories will be used during the tests

Signed-off-by: Daniel Hilst Selli <392820+dhilst@users.noreply.github.com>
Signed-off-by: Daniel Hilst Selli <392820+dhilst@users.noreply.github.com>
Signed-off-by: Daniel Hilst Selli <392820+dhilst@users.noreply.github.com>
Signed-off-by: Daniel Hilst Selli <392820+dhilst@users.noreply.github.com>
Signed-off-by: Daniel Hilst Selli <392820+dhilst@users.noreply.github.com>
@dhilst dhilst force-pushed the fix/sbuild-build-packaging branch 25 times, most recently from af42617 to 4116d47 Compare January 14, 2026 12:09
@dhilst dhilst force-pushed the fix/sbuild-build-packaging branch from 4116d47 to 8d4a1ba Compare January 14, 2026 12:10
@dhilst dhilst marked this pull request as ready for review January 14, 2026 12:29
@dhilst dhilst requested a review from viniciusferrao January 15, 2026 14:16
@dhilst dhilst marked this pull request as draft January 22, 2026 15:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant