Add yocto helper scripts #248

Merged
meierj merged 17 commits from mueller/yocto-helper-scripts into develop 2022-05-10 18:45:54 +02:00
Showing only changes of commit 2f182a5e21 - Show all commits

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"