Compare commits

...

1 Commits

Author SHA1 Message Date
Craig Sterrett 4556ca4ae9 Added --force flag to swupd repair command
Running setup_system.sh on a system setting the OS version to keep setup_system from upgrading the OS causes an error because a package has been removed. Need to add the --force flag to the
sudo swupd repair -m "${CLR_VER}" --picky command

Closes issue #297
2020-01-09 13:02:22 -08:00
+1 -1
View File
@@ -16,7 +16,7 @@ if [[ -z "${RUNNER+x}" ]]; then RUNNER="${CLRK8S_RUNNER:-crio}"; fi
# update os version
function upate_os_version() {
if [[ -n "${CLR_VER}" ]]; then
sudo swupd repair -m "${CLR_VER}" --picky
sudo swupd repair -m "${CLR_VER}" --picky --force
return
fi
sudo swupd update