Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use pbuilder in CI #61

Open
rvem opened this issue Jul 13, 2020 · 8 comments
Open

Use pbuilder in CI #61

rvem opened this issue Jul 13, 2020 · 8 comments
Assignees

Comments

@rvem
Copy link
Member

rvem commented Jul 13, 2020

Clarification and motivation

After #60 we'll have proper package generation for ubuntu.
We want to be sure that source packages generated inside docker container are sane. One way to do that
is to build them using pbuilder.

Acceptance criteria

CI runs pbuilder for at least one source package to test the building.

@rvem
Copy link
Member Author

rvem commented Aug 3, 2020

@krendelhoff
Copy link
Contributor

Why not consider to use it instead of dpkg-buildpackage?

@rvem
Copy link
Member Author

rvem commented Jul 7, 2022

AFAIR, my initial goal was to check that built source packages can be built on the launchpad without submitting builds to it, and pbuilder-dist simulates launchpad builders quite well

@krendelhoff
Copy link
Contributor

But it also actually builds the binary

@krendelhoff
Copy link
Contributor

Users who currently build binary debs with just debuild are strongly encouraged to consider how their build process might be modified to support the use of pbuilder.

@rvem
Copy link
Member Author

rvem commented Jul 7, 2022

Is it possible to build a source package (aka .orig.tar.gz, debian.tar.xz, .dsc and .changes files) using pbuilder?

@krendelhoff
Copy link
Contributor

krendelhoff commented Jul 7, 2022

AFAIU, no, only binary

@rvem
Copy link
Member Author

rvem commented Jul 7, 2022

As for building binary packages, I think it's a good idea to update test deb binary packages via docker step to use pbuilder instead of dpkg-buildpackage

@pasqu4le pasqu4le assigned krendelhoff2 and unassigned krendelhoff Jul 14, 2022
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

No branches or pull requests

3 participants