mirror of
https://github.com/clearlinux/mixer-tools.git
synced 2026-09-06 21:51:30 +00:00
Add format flag to update in validate-swupd.sh
This is necessary for actually performing the update against the correct format. Without it the server version will be detected as -1. While I'm here, fix the quoting for this line. Signed-off-by: Matthew Johnson <matthew.johnson@intel.com>
This commit is contained in:
committed by
Kevin Wells
parent
cced6a0180
commit
6fa8754a30
+1
-1
@@ -131,7 +131,7 @@ for i in $(ls update/www); do
|
||||
|
||||
set -x
|
||||
echo $next | sudo tee $(pwd)/update/www/version/format$3/latest
|
||||
swupd update --path os-$i-install -u file://$(pwd)/update/www -C $(pwd)/Swupd_Root.pem
|
||||
swupd update --path "os-$i-install" -F "$3" -u "file://$PWD/update/www" -C "$PWD/Swupd_Root.pem"
|
||||
if [[ $? -ne 0 ]]; then
|
||||
popd
|
||||
exit 1
|
||||
|
||||
Reference in New Issue
Block a user