summaryrefslogtreecommitdiff
path: root/tools/monit_stream
diff options
context:
space:
mode:
authorsongyanchao <[email protected]>2023-12-18 06:21:40 +0000
committersongyanchao <[email protected]>2023-12-18 06:21:40 +0000
commit2c1c5fb4387c47e40d9cd02f2abbbfaf31ee9b38 (patch)
treef99f4c5010e7dfe765331eccf47cc67de447024f /tools/monit_stream
parentbf41642ec5118334ebd8c6d788185fe07b20216b (diff)
🐞 fix: Fix the issue of RPM installation failure due to identical build IDs across multiple platforms in tools like monit_device.v4.6.65-20231218
Fix the issue of RPM installation failure due to identical build IDs across multiple platforms in tools like monit_device.
Diffstat (limited to 'tools/monit_stream')
-rw-r--r--tools/monit_stream/CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/monit_stream/CMakeLists.txt b/tools/monit_stream/CMakeLists.txt
index 069f9fc..e354885 100644
--- a/tools/monit_stream/CMakeLists.txt
+++ b/tools/monit_stream/CMakeLists.txt
@@ -1,7 +1,8 @@
set(PI_DIST_PATH ${CMAKE_CURRENT_BINARY_DIR}/pi_dist)
add_custom_command(OUTPUT ${PI_DIST_PATH}/monit_stream
- COMMAND python3 -m nuitka --standalone --onefile
+ COMMAND nuitka3 --standalone --onefile
+ --product-name=${MACHINE}
--output-dir=${PI_DIST_PATH}
-o monit_stream
${CMAKE_CURRENT_SOURCE_DIR}/monit_stream.py