Skip to content

Commit

Permalink
Merge pull request kata-containers#5600 from BbolroC/image-rs-s390x
Browse files Browse the repository at this point in the history
CC: Make agent build differently for image-rs on s390x
  • Loading branch information
fidencio authored Nov 8, 2022
2 parents 38b5818 b4d3a79 commit 5b7009f
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/agent/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 85,14 @@ ifeq ($(INIT),no)
UNIT_FILES = kata-containers.target
endif

# The following will be reverted, after
# https://github.com/kata-containers/kata-containers/issues/5582
# is resolved.
IMAGE_RS_COMMIT = a1d7ba31201d9d7a575d05c5fed1f2cb2142a842
ifeq ($(ARCH),s390x)
$(shell sed -i -e "s/^\(image-rs.*\)tag\(.*\)/\1rev\2/" -e "s/^\(image-rs.*rev = \"\).*\(\".*\)/\1$(IMAGE_RS_COMMIT)\2/" Cargo.toml)
endif

# Display name of command and it's version (or a message if not available).
#
# Arguments:
Expand Down

0 comments on commit 5b7009f

Please sign in to comment.