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