Skip to content

Commit 6f6eab2

Browse files
committed
Fix RPM self-destruction in Dockerfile
Commit 08e30d8 dropped the removal of rpm-plugin-ima since it no longer was pulled in by default, however that (no longer?) is the case, due to ima-evm-utils-devel that requires it. The plugin also pulled in rpm-sign-libs, which could then cause a false positive in the "rpm library version" test in "make check" if the local build was configured with the /usr prefix. (cherry picked from commit 524084c)
1 parent c7305c5 commit 6f6eab2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/Dockerfile.fedora

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,9 @@ RUN ln -sf $(rpm --eval '%{_target_platform}%{?_gnu}')-pkg-config \
8383
RUN rpm -e --nodeps --nodb \
8484
rpm \
8585
rpm-libs \
86-
rpm-build-libs
86+
rpm-sign-libs \
87+
rpm-build-libs \
88+
rpm-plugin-ima
8789

8890
WORKDIR /
8991
CMD /bin/bash

0 commit comments

Comments
 (0)