Skip to content

Commit

Permalink
containers/ws: Fix build on Fedora 41
Browse files Browse the repository at this point in the history
dnf5 changed `--installroot` behaviour that it now only considers the
repositories in the root instead of the host. This broke the container
build.

Unfortunately my fix for that [1] got lost in a git pilot failure, mea
culpa!

[1] #21360 (comment)
  • Loading branch information
martinpitt committed Dec 18, 2024
1 parent a800c50 commit 7ebd599
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion containers/ws/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ set -ex

OSVER=$(. /etc/os-release && echo "$VERSION_ID")
INSTALLROOT=/build
INSTALL="dnf install -y --installroot=$INSTALLROOT --releasever=$OSVER --setopt=install_weak_deps=False"
INSTALL="dnf install -y --installroot=$INSTALLROOT --releasever=$OSVER --setopt=install_weak_deps=False --use-host-config"

# keep in sync with test/ws-container.install
PACKAGES="
Expand Down

0 comments on commit 7ebd599

Please sign in to comment.