Skip to content

Commit

Permalink
script/release_build: enable selinux-vs-dmz workaround
Browse files Browse the repository at this point in the history
Since the binaries we publish should work on every distro (including
CentOS 7, which is still supported, but won't get updated
container-selinux), let's enable selinux-vz-dmz workaround.

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
  • Loading branch information
kolyshkin committed Oct 26, 2023
1 parent 58731fd commit cdb537d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions script/release_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@ function build_project() {
# the provided libseccomp, not the system one (otherwise
# it can reuse cached pkg-config results).
local make_args=(COMMIT_NO= EXTRA_FLAGS="-a" EXTRA_LDFLAGS="${ldflags}" static)
# Enable selinux-vs-dmz workaround for older distros.
make_args+=(EXTRA_BUILDTAGS=runc_dmz_selinux_compat)

# Save the original cflags.
local original_cflags="${CFLAGS:-}"
Expand Down

0 comments on commit cdb537d

Please sign in to comment.