Browse Source
Merge pull request #132 from lluiscampos/MEN-2790-update-deb-packages
Switch to master deb packages and update URL accordingly
2.0.x
Lluis Campos
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
2 additions and
2 deletions
-
configs/mender_convert_config
-
mender-convert-modify
|
|
@ -88,7 +88,7 @@ MENDER_PARTITION_ALIGNMENT="8388608" |
|
|
|
# Mender client version |
|
|
|
# |
|
|
|
# This is used to fetch the correct binaries |
|
|
|
MENDER_CLIENT_VERSION="2.0.1" |
|
|
|
MENDER_CLIENT_VERSION="master" |
|
|
|
|
|
|
|
# File storage, containing binary files, do not modify this unless you know |
|
|
|
# what you are doing. |
|
|
|
|
|
@ -84,7 +84,7 @@ log_info "Installing Mender client and related files" |
|
|
|
|
|
|
|
deb_arch=$(probe_debian_arch_name) |
|
|
|
deb_name="mender-client_${MENDER_CLIENT_VERSION}-1_${deb_arch}.deb" |
|
|
|
run_and_log_cmd "wget -Nq ${MENDER_STORAGE_URL}/mender-convert/deb/${deb_name} -P work/mender-deb" |
|
|
|
run_and_log_cmd "wget -Nq ${MENDER_STORAGE_URL}/${MENDER_CLIENT_VERSION}/dist-packages/debian/${deb_arch}/${deb_name} -P work/mender-deb" |
|
|
|
|
|
|
|
cd work/mender-deb |
|
|
|
run_and_log_cmd "ar -xv ${deb_name}" |
|
|
|