adaptions for update sequence
Some checks failed
EIVE/eive-obsw/pipeline/head There was a failure building this commit

This commit is contained in:
2022-09-26 11:12:41 +02:00
parent 15641c61ea
commit 65a7d38f54
6 changed files with 51 additions and 25 deletions

View File

@ -1,9 +0,0 @@
#!/bin/bash
if [ -d eive-obsw-stripped ]; then
echo "No file eive-obsw-stripped found. Please ensure you are in the build folder"
fi
cmd="tar -cJvf eive-obsw.tar.xz eive-obsw-stripped"
echo "Running command ${cmd} to generate compressed OBSW"
eval ${cmd}

17
scripts/create-sw-update.sh Executable file
View File

@ -0,0 +1,17 @@
#!/bin/bash
if [ -f eive-obsw-stripped ]; then
echo "No file eive-obsw-stripped found. Please ensure you are in the "
echo "build folder and the OBSW was built properly"
exit 1
fi
if [ -f obsw_version.txt ]; then
echo "No OBSW version file found."
echo "You can use the create-version-file.sh script to create it"
exit 1
fi
cmd="tar -cJvf eive-obsw.tar.xz eive-obsw-stripped obsw_version.txt"
echo "Running command ${cmd} to generate compressed SW update archive"
eval ${cmd}

View File

@ -1,3 +1,3 @@
#!/bin/bash
source create-version-file.sh
source compress-obsw.sh
source create-sw-update.sh