From a8b41ffed4be3e2eea900ee9583820ccf7e8bba0 Mon Sep 17 00:00:00 2001 From: Max Goltzsche Date: Sat, 5 Jun 2021 00:07:40 +0200 Subject: [PATCH] add default seccomp.json to tar. Applying the image fix of #9 to the tar release as well in order to work around containers/podman#10556. --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index edc8313..6de5a6b 100644 --- a/Makefile +++ b/Makefile @@ -61,7 +61,7 @@ tar: .podman-from-container .podman-from-container: podman rm -rf $(BUILD_DIR) - mkdir -p $(BUILD_DIR)/etc $(BUILD_DIR)/usr/local/bin $(BUILD_DIR)/usr/libexec + mkdir -p $(BUILD_DIR)/etc $(BUILD_DIR)/usr/local/bin $(BUILD_DIR)/usr/libexec $(BUILD_DIR)/usr/share/containers cp -r conf/containers $(BUILD_DIR)/etc/containers cp -r conf/cni $(BUILD_DIR)/etc/cni cp README.md $(BUILD_DIR)/ @@ -72,6 +72,7 @@ tar: .podman-from-container done; \ $(DOCKER) cp $$CONTAINER:/usr/libexec/podman $(BUILD_DIR)/usr/libexec/podman; \ $(DOCKER) cp $$CONTAINER:/usr/libexec/cni $(BUILD_DIR)/usr/libexec/cni; \ + $(DOCKER) cp $$CONTAINER:/usr/share/containers/seccomp.json $(BUILD_DIR)/usr/share/containers/seccomp.json; \ $(DOCKER) rm $$CONTAINER signed-tar: tar .gpg