Skip to content

Commit b111369

Browse files
1 parent aa06475 commit b111369

3 files changed

+6
-2
lines changed

tools/ci/build-test-ubuntu-support-systemd-integrations.sh

+4-1
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,11 @@ msg() {
2828
printf "\033[1;32m%s: %s\033[0m\n" ${FUNCNAME[1]} "$1"
2929
}
3030

31+
WORKSPACE=$(git rev-parse --show-toplevel)
32+
DIR_BUILD="build"
33+
3134
msg "Create unit file"
32-
echo -e "[Unit]\nDescription=Test application roudi\n\n[Service]\nType=notify\nRestartSec=10\nRestart=always\nExecStart=/usr/local/bin/iox-roudi\nTimeoutStartSec=10\nWatchdogSec=5\n\n[Install]\nWantedBy=multi-user.target" | tee /usr/lib/systemd/system/test_iox.service > /dev/null
35+
echo -e "[Unit]\nDescription=Test application roudi\n\n[Service]\nType=notify\nRestartSec=10\nRestart=always\nExecStart=${WORKSPACE}/${DIR_BUILD}/iox-roudi\nTimeoutStartSec=10\nWatchdogSec=5\n\n[Install]\nWantedBy=multi-user.target" | tee /usr/lib/systemd/system/test_iox.service > /dev/null
3336

3437
msg "Show unit"
3538
cat /usr/lib/systemd/system/test_iox.service

tools/ci/build-test-ubuntu.sh

+1
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ $(clang --version)"
4848

4949
msg "building sources"
5050
./tools/iceoryx_build_test.sh build-strict build-all out-of-tree build-shared test-add-user ${BUILD_32BIT}
51+
cd ./build
5152

5253
msg "building debian package"
5354
./tools/iceoryx_build_test.sh package ${BUILD_32BIT}

tools/iceoryx_build_test.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ COMPONENTS="iceoryx_platform iceoryx_hoofs iceoryx_posh iceoryx_introspection ic
5858
TOOLCHAIN_FILE=""
5959
CMAKE_C_FLAGS=""
6060
CMAKE_CXX_FLAGS=""
61-
USE_SYSTEMD_FLAGS=""
61+
USE_SYSTEMD_FLAGS="OFF"
6262

6363
while (( "$#" )); do
6464
case "$1" in

0 commit comments

Comments
 (0)