Browse Source

Scope the deb_name references

Changelog: None
Signed-off-by: Ole Petter <ole.orhagen@northern.tech>
2.5.x
Ole Petter 4 years ago
committed by Lluis Campos
parent
commit
8010e4c0f2
  1. 8
      mender-convert-modify

8
mender-convert-modify

@ -116,12 +116,12 @@ if [ "${MENDER_CLIENT_INSTALL}" = "y" ]; then
deb_name=$(deb_from_repo_pool_get "work/deb-packages" ${MENDER_APT_REPO_URL} ${deb_arch} "mender-client" "${MENDER_CLIENT_VERSION}${DEBIAN_REVISION}")
fi
fi
deb_extract_package "work/deb-packages/${deb_name}" "work/rootfs/"
deb_extract_package "work/deb-packages/${deb_name}" "work/rootfs/"
# Save installed client version for tests in Yocto variable format
testscfg_add "PREFERRED_VERSION_mender-client" "$(echo ${deb_name} | sed -r 's/.*_([0-9]+\.[0-9]+\.[0-9]+).*/\1/')"
# Save installed client version for tests in Yocto variable format
testscfg_add "PREFERRED_VERSION_mender-client" "$(echo ${deb_name} | sed -r 's/.*_([0-9]+\.[0-9]+\.[0-9]+).*/\1/')"
fi
if [ "${MENDER_ENABLE_SYSTEMD}" == "y" ]; then
run_and_log_cmd "sudo ln -sf /lib/systemd/system/mender-client.service \

Loading…
Cancel
Save