Browse Source

QA-214: Remove the Debian revision suffix for the latest package

The latest package does not have the Debian version suffixed.

Therefore, simply remove it in the case where it is needed.

Changelog: None
Signed-off-by: Ole Petter <ole.orhagen@northern.tech>
2.3.x
Ole Petter 4 years ago
parent
commit
70350d608c
No known key found for this signature in database GPG Key ID: A7100375167A7B21
  1. 6
      mender-convert-modify

6
mender-convert-modify

@ -100,7 +100,11 @@ mkdir -p work/mender-deb/files
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"
DEBIAN_REVISION="-1"
if [ "${MENDER_CLIENT_VERSION}" = "latest" ]; then
DEBIAN_REVISION=""
fi
deb_name="mender-client_${MENDER_CLIENT_VERSION}${DEBIAN_REVISION}_${deb_arch}.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

Loading…
Cancel
Save