Skip to content

Improve the workflow for creating RPM packages for Qubes - #34

Merged
apyrgio merged 5 commits into
mainfrom
2026-06-qubes
Jun 30, 2026
Merged

Improve the workflow for creating RPM packages for Qubes#34
apyrgio merged 5 commits into
mainfrom
2026-06-qubes

Conversation

@apyrgio

@apyrgio apyrgio commented Jun 30, 2026

Copy link
Copy Markdown
Contributor

The current way we build RPM packages for Qubes has a couple of problems:

  1. The uv_build restriction is too strict, and the latest python3-uv-build package from Fedora 43 cannot satisfy it.
  2. The build script cannot be invoked from any location. This causes a problem if we follow the Qubes instructions in the freedomofpress/dangerzone repo, which invoke this script outside the dangerzone-image/ dir.
  3. We need to ignore the recently added image script.
  4. Our docs are not explaining properly what are the two options our users have for building the RPM package for Qubes (in host vs. containerized).

This PR fixes the above problems. A similar PR will land on the Dangerzone repo, that works on top of this PR and builds RPM packages for Qubes more easily.

apyrgio added 4 commits June 30, 2026 12:57
Remove the unnecessary uv build restriction, and try to work with
whatever is available in our system, since we don't have any particular
requirements.

The trigger for this change is that `uv-build` in Fedora 43 has moved
forward than version 0.10.x, which is unusable with the current
restrictions.
Make the build script location-agnostic, so that we can run it even
outside the `dangerzone-image` repo.
Update the Qubes build instructions with containerized and
non-containerized instructions.
Comment thread pyproject.toml
The `make Dockerfile` command does not run in a CI environment, because
the source and target are already there, and with the same timestamp.
Currently, this step reports:

  make: 'Dockerfile' is up to date.

Use the `-B` flag to always regenerate the Dockerfile.
@apyrgio
apyrgio merged commit 6deaf4c into main Jun 30, 2026
23 checks passed
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.

3 participants