From 8bded835a27af820100048f6078c2cb6b37d4ad4 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Thu, 16 Apr 2020 19:27:10 +0000 Subject: [PATCH] amazon-ssm-agent: Remove temporary shared files Signed-off-by: Michael Tremer Signed-off-by: Arne Fitzenreiter --- lfs/amazon-ssm-agent | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lfs/amazon-ssm-agent b/lfs/amazon-ssm-agent index 4b08bd41de..68ab3dda18 100644 --- a/lfs/amazon-ssm-agent +++ b/lfs/amazon-ssm-agent @@ -95,6 +95,9 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) # Build cd $(DIR_BUILD) && make build-linux + # Remove some temporary files (no idea why those are being created) + rm -rfv /usr/lib/go/pkg/linux_$(GOARCH)_shared + # Install mkdir -pv /etc/amazon/ssm /usr/bin /var/lib/amazon/ssm cd $(DIR_BUILD) && install -v -m 755 \ -- 2.39.5