mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-14 00:16:59 +02:00
Merge pull request #321 from marineam/updatectl
rename references to updatectl, it is now updateservicectl
This commit is contained in:
commit
af910f94c6
@ -29,7 +29,7 @@ STATIC_FILES = ['%s/version.txt' % REPO_MANIFESTS_DIR,
|
|||||||
]
|
]
|
||||||
|
|
||||||
DYNAMIC_EXECUTABLES = ['/usr/bin/delta_generator',
|
DYNAMIC_EXECUTABLES = ['/usr/bin/delta_generator',
|
||||||
'/usr/bin/updatectl',
|
'/usr/bin/updateservicectl',
|
||||||
'/usr/bin/bsdiff',
|
'/usr/bin/bsdiff',
|
||||||
'/usr/bin/bspatch']
|
'/usr/bin/bspatch']
|
||||||
|
|
||||||
|
@ -76,7 +76,7 @@ gs_release="${FLAGS_release_storage}/${FLAGS_board}/${FLAGS_version}"
|
|||||||
gs_current="${FLAGS_release_storage}/${FLAGS_board}/current"
|
gs_current="${FLAGS_release_storage}/${FLAGS_board}/current"
|
||||||
|
|
||||||
if [[ ${FLAGS_do_roller} -eq ${FLAGS_TRUE} ]]; then
|
if [[ ${FLAGS_do_roller} -eq ${FLAGS_TRUE} ]]; then
|
||||||
updatectl \
|
updateservicectl \
|
||||||
--server="${FLAGS_endpoint}" \
|
--server="${FLAGS_endpoint}" \
|
||||||
--user="${FLAGS_user}" \
|
--user="${FLAGS_user}" \
|
||||||
--key="${FLAGS_api_key}" \
|
--key="${FLAGS_api_key}" \
|
||||||
|
@ -51,7 +51,7 @@ GS_URL="${FLAGS_storage}/${FLAGS_board}/${FLAGS_version}/update.gz"
|
|||||||
HTTP_URL="https://commondatastorage.googleapis.com/${GS_URL#gs://}"
|
HTTP_URL="https://commondatastorage.googleapis.com/${GS_URL#gs://}"
|
||||||
gsutil cp "${FLAGS_payload}" "${GS_URL}"
|
gsutil cp "${FLAGS_payload}" "${GS_URL}"
|
||||||
|
|
||||||
updatectl \
|
updateservicectl \
|
||||||
--server="${FLAGS_endpoint}" \
|
--server="${FLAGS_endpoint}" \
|
||||||
--user="${FLAGS_user}" \
|
--user="${FLAGS_user}" \
|
||||||
--key="${FLAGS_api_key}" \
|
--key="${FLAGS_api_key}" \
|
||||||
|
Loading…
Reference in New Issue
Block a user