|
|
@ -102,7 +102,7 @@ log_info "Installing Mender client and related files" |
|
|
|
|
|
|
|
if [ "${MENDER_CLIENT_INSTALL}" = "y" ]; then |
|
|
|
log_info "Installing Mender client version ${MENDER_CLIENT_VERSION}" |
|
|
|
deb_get_and_install_pacakge mender-client "${MENDER_CLIENT_VERSION}" |
|
|
|
deb_get_and_install_package mender-client "${MENDER_CLIENT_VERSION}" |
|
|
|
|
|
|
|
# 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/')" |
|
|
@ -115,7 +115,7 @@ fi |
|
|
|
|
|
|
|
if [ "${MENDER_ADDON_CONNECT_INSTALL}" = "y" ]; then |
|
|
|
log_info "Installing Mender Connect addon" |
|
|
|
deb_get_and_install_pacakge mender-connect "${MENDER_ADDON_CONNECT_VERSION}" |
|
|
|
deb_get_and_install_package mender-connect "${MENDER_ADDON_CONNECT_VERSION}" |
|
|
|
|
|
|
|
run_and_log_cmd "sudo ln -sf /lib/systemd/system/mender-connect.service \ |
|
|
|
work/rootfs/etc/systemd/system/multi-user.target.wants/mender-connect.service" |
|
|
@ -123,7 +123,7 @@ fi |
|
|
|
|
|
|
|
if [ "${MENDER_ADDON_CONFIGURE_INSTALL}" = "y" ]; then |
|
|
|
log_info "Installing Mender Configure addon" |
|
|
|
deb_get_and_install_pacakge mender-configure "${MENDER_ADDON_CONFIGURE_VERSION}" "true" |
|
|
|
deb_get_and_install_package mender-configure "${MENDER_ADDON_CONFIGURE_VERSION}" "true" |
|
|
|
fi |
|
|
|
|
|
|
|
# Do this unconditionally even if not installing add-ons. The reason is that if |
|
|
|