Skip to content

Commit

Permalink
Drop the %_dbpath override from our test-container
Browse files Browse the repository at this point in the history
This override exists to make system rpmdb accessible in eg "make shell"
but it causes complications wrt the prefix (see below + next commits) and
also masks test bugs (see previous commit).

We can resurrect this functionality later on if we find solutions that
avoid the issues.

This is the first step to fixing rpm-software-management#3521.
  • Loading branch information
pmatilai committed Jan 17, 2025
1 parent 736871d commit 864cf34
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions tests/Dockerfile.fedora
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,6 @@ RUN rm -f /usr/lib/rpm/macros.d/macros.transaction_ima
RUN dnf -y --enablerepo=updates install "sequoia-sq >= 1.0"
RUN dnf clean all

RUN echo "%_dbpath $(rpm --eval '%_dbpath')" > /root/.rpmmacros

# Workaround for pkgconf(1)'s unlisted dependency on rpm.
# This is needed for cmake to work without an rpm installation.
RUN ln -sf $(rpm --eval '%{_target_platform}%{?_gnu}')-pkg-config \
Expand Down

0 comments on commit 864cf34

Please sign in to comment.