Commit c50441d4 authored by Vladimir Bashkirtsev's avatar Vladimir Bashkirtsev

We should remove old verify key before installing a new one

parent 11719347
......@@ -638,6 +638,7 @@ rm /lib/systemd/system/build
<target name="install-verify-key">
<antcall target="mount"/>
<delete file="${sysdir}/etc/mender/verify.key"/>
<exec executable="openssl" failonerror="true">
<arg line="rsa -in ${basedir}/host/private.key -out ${sysdir}/etc/mender/verify.key -pubout"/>
</exec>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment