mirror of
https://github.com/freedomofpress/dangerzone.git
synced 2025-04-28 18:02:38 +02:00
dev_scripts: Alter the shadow-utils fix
Instead of reinstalling shadow-utils, use the actual fix that the Fedora devs have suggested (rpm --restore shadow-utils). The previous method does not seem to work on Fedora 37, and it threw the following error when building the development environment: Installed package shadow-utils-2:4.12.3-3.fc37.x86_64 (from koji-override-0) not available. Error: No packages marked for reinstall. Error: building at STEP "RUN dnf reinstall -y shadow-utils && dnf clean all": while running runtime: exit status 1
This commit is contained in:
parent
e7eb3bf18b
commit
081c68c27f
1 changed files with 2 additions and 2 deletions
|
@ -74,7 +74,7 @@ RUN dnf install -y rpm-build podman python3 make python3-pip qt5-qtbase-gui \
|
|||
|
||||
# FIXME: Drop this fix after it's resolved upstream.
|
||||
# See https://github.com/freedomofpress/dangerzone/issues/286#issuecomment-1347149783
|
||||
RUN dnf reinstall -y shadow-utils && dnf clean all
|
||||
RUN rpm --restore shadow-utils
|
||||
|
||||
RUN dnf install -y mupdf && dnf clean all
|
||||
"""
|
||||
|
@ -120,7 +120,7 @@ RUN dnf install -y mupdf && dnf clean all
|
|||
|
||||
# FIXME: Drop this fix after it's resolved upstream.
|
||||
# See https://github.com/freedomofpress/dangerzone/issues/286#issuecomment-1347149783
|
||||
RUN dnf reinstall -y shadow-utils && dnf clean all
|
||||
RUN rpm --restore shadow-utils
|
||||
"""
|
||||
|
||||
# The Dockerfile for building an environment with Dangerzone installed in it. Parts of
|
||||
|
|
Loading…
Reference in a new issue