Signed-off-by: Michael Tremer --- lfs/amazon-ssm-agent | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lfs/amazon-ssm-agent b/lfs/amazon-ssm-agent index 4b08bd41d..68ab3dda1 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.20.1