docs
All checks were successful
EIVE/eive-obsw/pipeline/head This commit looks good

This commit is contained in:
Robin Müller 2022-05-06 15:41:29 +02:00
parent bacce95881
commit 2f182a5e21
No known key found for this signature in database
GPG Key ID: 11D4952C8CCEF814

View File

@ -1,4 +1,6 @@
#!/bin/bash
# This is a helper script to install the compiles EIVE OBSW files
# into the yocto repository to re-generate the mission root filesystem
init_dir=$(pwd)
build_dir=cmake-build-release-q7s
@ -58,7 +60,7 @@ fi
if [ ! -f ${build_dir}/${watchdog_bin_name} ]; then
echo "No EIVE Watchdog found to intall to yocto"
else
cp_cmd="cp $(pwd)/${build_dir}/${watchdog_bin_name} ${yocto_root}/${yocto_obsw_path}/${watchdog_target_name}"
cp_cmd="cp $(pwd)/${build_dir}/${watchdog_bin_name} ${yocto_root}/${yocto_watchdog_path}/${watchdog_target_name}"
echo "Executing: ${cp_cmd}"
eval ${cp_cmd}
echo "Installed EIVE watchdog into yocto repository successfully"