Skip to content

Commit

Permalink
Merge pull request #1013 from thaJeztah/disable_seccomp_rpm
Browse files Browse the repository at this point in the history
[master] rpm: disable seccomp to prevent tar EPERM (Fedora 40 ppc64le on Debian)
  • Loading branch information
thaJeztah committed Apr 12, 2024
2 parents f1905fd + 01886f5 commit a80fc88
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions rpm/Makefile
Expand Up @@ -41,7 +41,13 @@ RPMBUILD_FLAGS?=-ba\

# Additional flags may be necessary at some point
RUN_FLAGS=

# FIXME(thaJeztah): disabling seccomp to handle (ppc64le) tar "chown / chmod"
# failing when running in a Fedora 40 container on a Debian bookworm host;
# see https://github.com/docker/docker-ce-packaging/issues/1012 and
# https://github.com/docker/docker-ce-packaging/pull/1006#issuecomment-2006878743
RUN?=docker run --rm \
--security-opt seccomp=unconfined \
-e PLATFORM \
-v $(CURDIR)/rpmbuild/SOURCES:/root/rpmbuild/SOURCES:ro \
-v $(CURDIR)/rpmbuild/$@/RPMS:/root/rpmbuild/RPMS \
Expand Down

0 comments on commit a80fc88

Please sign in to comment.