|
|
@ -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 \ |
|
|
|