Module: check_mk
Branch: master
Commit: e5bf1ed4300b24b1584c9a41996eef3ef003b0b1
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=e5bf1ed4300b24…
Author: Andreas Umbreit <au(a)mathias-kettner.de>
Date: Mon Nov 13 13:44:28 2017 +0100
cmk-update-agent: Improve windows agent updater build
- Avoid reinstalling Python windows version on every build
Change-Id: I88ad8e9ac94c4a4978117134504d689ce988eb69
---
agents/windows/frozen_binaries/pyinstaller-deps.make | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/agents/windows/frozen_binaries/pyinstaller-deps.make
b/agents/windows/frozen_binaries/pyinstaller-deps.make
index 9768246..12580fd 100644
--- a/agents/windows/frozen_binaries/pyinstaller-deps.make
+++ b/agents/windows/frozen_binaries/pyinstaller-deps.make
@@ -69,13 +69,13 @@ src/python-$(PYTHON_VERSION).msi:
cd src && \
curl -O
https://www.python.org/ftp/python/$(PYTHON_VERSION)/python-$(PYTHON_VERSION…
-$(BUILD_DIR)/drive_c/python.exe: src/python-$(PYTHON_VERSION).msi
+$(BUILD_DIR)/drive_c/Python27/python.exe: src/python-$(PYTHON_VERSION).msi
mkdir -p $(BUILD_DIR) && \
export WINEPREFIX=$(BUILD_DIR) && \
cd $(BUILD_DIR) && \
cp $(CURDIR)/src/python-$(PYTHON_VERSION).msi . && \
wine msiexec /qn /i python-$(PYTHON_VERSION).msi && \
- cd $(CURDIR)
+ touch $(BUILD_DIR)/drive_c/Python27/python.exe
$(PYTHON_PACKAGES): $(BUILD_DIR)/drive_c/Python27/python.exe
# Download needed python packages including depencencies. This has to be done