# Final Checks before release

**URL:** <https://hub.mender.io/t/final-checks-before-release/2489>\
**Category:** General Discussions\
**Tags:** yocto, raspberry-pi-3, warrior\
**Created:** [September 24, 2020, 10:38pm UTC](https://hub.mender.io/t/final-checks-before-release/2489 "2020-09-24T22:38:05Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![thesillywhat](https://avatars.discourse-cdn.com/v4/letter/t/57b2e6/32.png) [@thesillywhat](https://hub.mender.io/u/thesillywhat)\
**Post date:** [September 25, 2020, 2:54pm UTC](https://hub.mender.io/t/final-checks-before-release/2489/3 "2020-09-25T14:54:07Z")

</div>

> [@oleorhagen](#):
>
> However, if the connection is broken, the client should continue downloading the update from where it left off, if it is allowed to retry

The connection broken in this case, would be, if I lost internet connection and I got it back after some time. Not the same as power loss. I would assume.

> [@oleorhagen](#):
>
> if it is allowed to retry.

This retry that you are referring to is different than the retry on [hosted.mender.io](http://hosted.mender.io)?

> [@oleorhagen](#):
>
> I’m not sure what changing the hosted API means

So right now I am setting two variable

`MENDER_SERVER_URL=https://hosted.mender.io` and `MENDER_TENNANT_TOKEN` So if in the future I need to change any of these variables to a some new value I can include them as new update  
But I think I understand what you are trying to say for the certificate option. I have not looked into it. I will start looking into it

> [@oleorhagen](#):
>
> I think you might be confusing State scripts with Update modules here. You can have state scripts which run in the ArtifactRollback state. But it is not required. This is entirely use-case dependent.

I think I am. I am very bad at remembering proper terminologies. but you understood it spot on.  
So this post is an example of what I am trying to achieve

> [@State-scripts documentation: how to use them without Yocto](https://hub.mender.io/t/state-scripts-documentation-how-to-use-them-without-yocto/744/18):
>
> The more I read about this more complicate it sounds So to give an example of what I am trying to achieve. Recently I found out that I had provide a patch to systemd so that I could change timezone in read only root file system. So the fix was in two areas. I had to update rootfs Add necessary file in persistent data section As shown below root@raspberrypi-cm3:/etc# ls -lrt | grep localtime lrwxrwxrwx 1 root root 22 Aug 19 11:56 localtime -\> /data/system/localtime root@raspberrypi…

In the above case. I had created a script which ran as a part of update module. Since this was a specific use case.  
If the script fails in the second or third step, will the artifact automatically revert the changes performed or do I have to do something to take care of it?

---

_[View the full topic](https://hub.mender.io/t/final-checks-before-release/2489)._
