Browse Source

log: Warning message about resulting Artifact with no client

Changelog: None

Signed-off-by: Lluis Campos <lluis.campos@northern.tech>
2.5.x
Lluis Campos 4 years ago
parent
commit
a8ccff107c
  1. 3
      mender-convert-package

3
mender-convert-package

@ -211,6 +211,9 @@ disk_create_file_system_from_folder "work/rootfs/" "work/rootfs.img" \
log_info "Copying root filesystem image to deploy directory"
run_and_log_cmd "cp --sparse=always work/rootfs.img deploy/${image_name}.${image_fs_type}"
if [ "${MENDER_CLIENT_INSTALL}" != "y" ]; then
log_warn "Generating Artifact with no Mender client in it; not suitable for deployment"
fi
mender_create_artifact "${device_type}" "${MENDER_ARTIFACT_NAME}" "${image_name}"
log_info "Creating Mender compatible disk-image"

Loading…
Cancel
Save