feature:新增tsg-diagnose-periodical和tsg-diagnose搜索路径

This commit is contained in:
fumingwei
2021-09-11 15:58:22 +08:00
parent bd08aca403
commit a247f7a9a1
3 changed files with 5 additions and 1 deletions

View File

@@ -32,6 +32,7 @@ cache:
- cd $BUILD_PADDING_PREFIX/$CI_PROJECT_PATH
- chmod 0755 ./scripts/tsg-diagnose-oneshot
- chmod 0755 ./scripts/tsg-diagnose-periodical
- chmod 0755 ./scripts/tsg-diagnose.sh
- chmod 0755 ./etc/certs_import/certs/tool
- chmod +x ./ci/travis.sh
tags:

View File

@@ -28,7 +28,9 @@ install(FILES service/tsg-diagnose-periodical.service DESTINATION /usr/lib/syste
install(FILES service/tsg-diagnose.conf DESTINATION /usr/lib/tmpfiles.d)
install(FILES images_build/server_dns/dnsmasq.conf DESTINATION /opt/tsg/tsg-diagnose/etc/)
install(DIRECTORY images/ DESTINATION ./images)
install(DIRECTORY scripts/ DESTINATION ./scripts)
install(FILES scripts/tsg-diagnose-periodical DESTINATION ./scripts)
install(FILES scripts/tsg-diagnose-oneshot DESTINATION ./scripts)
install(FILES scripts/tsg-diagnose.sh DESTINATION /etc/profile.d/)
install(DIRECTORY etc/certs_import/ DESTINATION ./etc/.certs_import)
include(CPack)

1
scripts/tsg-diagnose.sh Normal file
View File

@@ -0,0 +1 @@
export PATH=/opt/tsg/tsg-diagnose/scripts:$PATH